patch-2.1.23 linux/include/asm-m68k/cache.h
Next file: linux/include/asm-m68k/processor.h
Previous file: linux/include/asm-i386/unistd.h
Back to the patch index
Back to the overall index
- Lines: 13
- Date:
Sun Jan 26 12:07:46 1997
- Orig file:
v2.1.22/linux/include/asm-m68k/cache.h
- Orig date:
Thu Jan 1 02:00:00 1970
diff -u --recursive --new-file v2.1.22/linux/include/asm-m68k/cache.h linux/include/asm-m68k/cache.h
@@ -0,0 +1,12 @@
+/*
+ * include/asm-m68k/cache.h
+ */
+#ifndef __ARCH_M68K_CACHE_H
+#define __ARCH_M68K_CACHE_H
+
+/* bytes per L1 cache line */
+#define L1_CACHE_BYTES 32 /* a guess */
+
+#define L1_CACHE_ALIGN(x) (((x)+(L1_CACHE_BYTES-1))&~(L1_CACHE_BYTES-1))
+
+#endif
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov