summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2006-01-17 07:13:56 +0100
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-17 08:15:26 +0100
commit511c3a2beefbb7d263063f2fef48615fba2d7255 (patch)
tree223d9fb459931df3d46636d42155c4b67432075f /include
parent[PATCH] fix arm26 THREAD_SIZE (diff)
downloadlinux-511c3a2beefbb7d263063f2fef48615fba2d7255.tar.xz
linux-511c3a2beefbb7d263063f2fef48615fba2d7255.zip
[PATCH] arm26: add L1_CACHE_SHIFT
Fix reiserfs compilation as a side effect =) Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Acked-by: Ian Molton <spyro@f2s.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include')
-rw-r--r--include/asm-arm26/cache.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/asm-arm26/cache.h b/include/asm-arm26/cache.h
index f52ca1b808cd..8c3abcf728fe 100644
--- a/include/asm-arm26/cache.h
+++ b/include/asm-arm26/cache.h
@@ -4,7 +4,8 @@
#ifndef __ASMARM_CACHE_H
#define __ASMARM_CACHE_H
-#define L1_CACHE_BYTES 32
+#define L1_CACHE_SHIFT 5
+#define L1_CACHE_BYTES (1 << L1_CACHE_SHIFT)
#define L1_CACHE_ALIGN(x) (((x)+(L1_CACHE_BYTES-1))&~(L1_CACHE_BYTES-1))
#define SMP_CACHE_BYTES L1_CACHE_BYTES