patch-2.4.13 linux/include/asm-sparc64/cache.h
Next file: linux/include/asm-sparc64/hardirq.h
Previous file: linux/include/asm-sparc/unistd.h
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
Wed Oct 17 14:16:39 2001
- Orig file:
v2.4.12/linux/include/asm-sparc64/cache.h
- Orig date:
Fri Aug 6 11:58:00 1999
diff -u --recursive --new-file v2.4.12/linux/include/asm-sparc64/cache.h linux/include/asm-sparc64/cache.h
@@ -9,7 +9,8 @@
#define L1_CACHE_ALIGN(x) (((x)+(L1_CACHE_BYTES-1))&~(L1_CACHE_BYTES-1))
-#define SMP_CACHE_BYTES 64 /* L2 cache line size. */
+#define SMP_CACHE_BYTES_SHIFT 6
+#define SMP_CACHE_BYTES (1 << SMP_CACHE_BYTES_SHIFT) /* L2 cache line size. */
#ifdef MODULE
#define __cacheline_aligned __attribute__((__aligned__(SMP_CACHE_BYTES)))
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)