Messages in this thread Patch in this message | | | Date | Sun, 15 Jan 2006 23:06:51 +0000 | From | Ian Molton <> | Subject | Re: [PATCH] arm26: add L1_CACHE_SHIFT |
| |
Alexey Dobriyan wrote: > Fix reiserfs compilation as a side effect =)
Obviosuly correct...
Signed-off-by: Ian Molton <spyro@f2s.com> Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> ---
include/asm-arm26/cache.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
--- 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
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |