summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2006-01-16 22:13:56 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-16 23:15:26 -0800
commit511c3a2beefbb7d263063f2fef48615fba2d7255 (patch)
tree223d9fb459931df3d46636d42155c4b67432075f /include
parent96419b7c4d996d9f12ca9f7189f316ed2938074a (diff)
downloadop-kernel-dev-511c3a2beefbb7d263063f2fef48615fba2d7255.zip
op-kernel-dev-511c3a2beefbb7d263063f2fef48615fba2d7255.tar.gz
[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 f52ca1b..8c3abcf 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
OpenPOWER on IntegriCloud