From: Alexey Dobriyan Date: Tue, 17 Jan 2006 06:13:56 +0000 (-0800) Subject: [PATCH] arm26: add L1_CACHE_SHIFT X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=511c3a2beefbb7d263063f2fef48615fba2d7255;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git [PATCH] arm26: add L1_CACHE_SHIFT Fix reiserfs compilation as a side effect =) Signed-off-by: Alexey Dobriyan Acked-by: Ian Molton Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- 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