summaryrefslogtreecommitdiffstats
path: root/include/asm-alpha/cache.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-alpha/cache.h')
-rw-r--r--include/asm-alpha/cache.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/asm-alpha/cache.h b/include/asm-alpha/cache.h
index c1276cb1e..c9b94b76b 100644
--- a/include/asm-alpha/cache.h
+++ b/include/asm-alpha/cache.h
@@ -4,9 +4,9 @@
#ifndef __ARCH_ALPHA_CACHE_H
#define __ARCH_ALPHA_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))
+/* Bytes per L1 (data) cache line. Both EV4 and EV5 are write-through,
+ read-allocate, direct-mapped, physical. */
+#define L1_CACHE_BYTES 32
+#define L1_CACHE_ALIGN(x) (((x)+(L1_CACHE_BYTES-1))&~(L1_CACHE_BYTES-1))
#endif