patch-2.4.0-test6 linux/include/asm-alpha/cache.h

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

diff -u --recursive --new-file v2.4.0-test5/linux/include/asm-alpha/cache.h linux/include/asm-alpha/cache.h
@@ -8,12 +8,14 @@
 
 /* Bytes per L1 (data) cache line. */
 #if defined(CONFIG_ALPHA_GENERIC) || defined(CONFIG_ALPHA_EV6)
-# define L1_CACHE_BYTES     32	/* should be 64, but networking dies */
+# define L1_CACHE_BYTES     64
+# define L1_CACHE_SHIFT     6
 #else
 /* Both EV4 and EV5 are write-through, read-allocate,
    direct-mapped, physical.
 */
 # define L1_CACHE_BYTES     32
+# define L1_CACHE_SHIFT     5
 #endif
 
 #define L1_CACHE_ALIGN(x)  (((x)+(L1_CACHE_BYTES-1))&~(L1_CACHE_BYTES-1))

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