[PATCH] arm26: add L1_CACHE_SHIFT

From: Alexey Dobriyan
Date: Sat Jan 14 2006 - 17:16:09 EST


Fix reiserfs compilation as a side effect =)

Signed-off-by: Alexey Dobriyan <adobriyan@xxxxxxxxx>
---

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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/