patch-2.3.13 linux/include/asm-alpha/cache.h

Next file: linux/include/asm-alpha/hardirq.h
Previous file: linux/fs/vfat/namei.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.12/linux/include/asm-alpha/cache.h linux/include/asm-alpha/cache.h
@@ -10,4 +10,6 @@
 #define L1_CACHE_ALIGN(x)  (((x)+(L1_CACHE_BYTES-1))&~(L1_CACHE_BYTES-1))
 #define SMP_CACHE_BYTES    L1_CACHE_BYTES
 
+#define __cacheline_aligned __attribute__((__aligned__(L1_CACHE_BYTES)))
+
 #endif

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)