summaryrefslogtreecommitdiff
path: root/include/asm-ppc64/cache.h
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2002-06-14 08:15:07 +1000
committerAnton Blanchard <anton@samba.org>2002-06-14 08:15:07 +1000
commit3682d115eea928907fb18ea77c2aa95d2e68d749 (patch)
tree941a90eaf3943ed657d7981f38d0bedb39b5f402 /include/asm-ppc64/cache.h
parentfbc17786da80d888a7073841ece1e32c9069221f (diff)
ppc64: updates for 2.5.21
Diffstat (limited to 'include/asm-ppc64/cache.h')
-rw-r--r--include/asm-ppc64/cache.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/asm-ppc64/cache.h b/include/asm-ppc64/cache.h
index 00928de36087..e3f2b238459f 100644
--- a/include/asm-ppc64/cache.h
+++ b/include/asm-ppc64/cache.h
@@ -8,6 +8,7 @@
#define __ARCH_PPC64_CACHE_H
/* bytes per L1 cache line */
-#define L1_CACHE_BYTES 128
+#define L1_CACHE_SHIFT 7
+#define L1_CACHE_BYTES (1 << L1_CACHE_SHIFT)
#endif