Commit 511c3a2beefbb7d263063f2fef48615fba2d7255
Committed by
Linus Torvalds
1 parent
96419b7c4d
Exists in
master
and in
7 other branches
[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>
Showing 1 changed file with 2 additions and 1 deletions Side-by-side Diff
include/asm-arm26/cache.h
... | ... | @@ -4,7 +4,8 @@ |
4 | 4 | #ifndef __ASMARM_CACHE_H |
5 | 5 | #define __ASMARM_CACHE_H |
6 | 6 | |
7 | -#define L1_CACHE_BYTES 32 | |
7 | +#define L1_CACHE_SHIFT 5 | |
8 | +#define L1_CACHE_BYTES (1 << L1_CACHE_SHIFT) | |
8 | 9 | #define L1_CACHE_ALIGN(x) (((x)+(L1_CACHE_BYTES-1))&~(L1_CACHE_BYTES-1)) |
9 | 10 | #define SMP_CACHE_BYTES L1_CACHE_BYTES |
10 | 11 |