summaryrefslogtreecommitdiffstats
path: root/arch/m68k/include/asm/cache.h
diff options
context:
space:
mode:
authorGreg Ungerer <gerg@uclinux.org>2009-02-06 05:34:47 +0100
committerGreg Ungerer <gerg@uclinux.org>2009-03-24 06:17:44 +0100
commitb0ffbf26124563fa17ef5a35266ee8e3f3ab2b91 (patch)
treed87cb8a3c10652ab50ecc0a15e9e0d6930a2ee67 /arch/m68k/include/asm/cache.h
parentm68k: use the mmu version of bootinfo.h for m68knommu as well (diff)
downloadlinux-b0ffbf26124563fa17ef5a35266ee8e3f3ab2b91.tar.xz
linux-b0ffbf26124563fa17ef5a35266ee8e3f3ab2b91.zip
m68k: use the mmu version of cache.h for m68knommu as well
The non-mmu version of cache.h is almost the same as the mmu version. Merge them. Signed-off-by: Greg Ungerer <gerg@uclinux.org> Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'arch/m68k/include/asm/cache.h')
-rw-r--r--arch/m68k/include/asm/cache.h14
1 files changed, 10 insertions, 4 deletions
diff --git a/arch/m68k/include/asm/cache.h b/arch/m68k/include/asm/cache.h
index 599c29bc8f40..fed3fd30de7e 100644
--- a/arch/m68k/include/asm/cache.h
+++ b/arch/m68k/include/asm/cache.h
@@ -1,5 +1,11 @@
-#ifdef __uClinux__
-#include "cache_no.h"
-#else
-#include "cache_mm.h"
+/*
+ * include/asm-m68k/cache.h
+ */
+#ifndef __ARCH_M68K_CACHE_H
+#define __ARCH_M68K_CACHE_H
+
+/* bytes per L1 cache line */
+#define L1_CACHE_SHIFT 4
+#define L1_CACHE_BYTES (1<< L1_CACHE_SHIFT)
+
#endif