Fix reiserfs compilation as a side effect =)
Signed-off-by: Alexey Dobriyan <[email protected]>
---
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
Alexey Dobriyan wrote:
> Fix reiserfs compilation as a side effect =)
Obviosuly correct...
Signed-off-by: Ian Molton <[email protected]>
Signed-off-by: Alexey Dobriyan <[email protected]>
---
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