diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2006-01-17 09:13:56 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-17 10:15:26 +0300 |
commit | 511c3a2beefbb7d263063f2fef48615fba2d7255 (patch) | |
tree | 223d9fb459931df3d46636d42155c4b67432075f /include/asm-arm26/cache.h | |
parent | 96419b7c4d996d9f12ca9f7189f316ed2938074a (diff) | |
download | linux-511c3a2beefbb7d263063f2fef48615fba2d7255.tar.xz |
[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/asm-arm26/cache.h')
-rw-r--r-- | include/asm-arm26/cache.h | 3 |
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 |