From a64c083690654a4bf0b1eab0bc66d483b863b34e Mon Sep 17 00:00:00 2001 From: Alexey Dobriyan Date: Mon, 16 Jan 2006 22:13:56 -0800 Subject: [PATCH] --- yaml --- r: 18628 b: refs/heads/master c: 511c3a2beefbb7d263063f2fef48615fba2d7255 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/include/asm-arm26/cache.h | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 11c262c7e9be..3b052c929b37 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 96419b7c4d996d9f12ca9f7189f316ed2938074a +refs/heads/master: 511c3a2beefbb7d263063f2fef48615fba2d7255 diff --git a/trunk/include/asm-arm26/cache.h b/trunk/include/asm-arm26/cache.h index f52ca1b808cd..8c3abcf728fe 100644 --- a/trunk/include/asm-arm26/cache.h +++ b/trunk/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