[PATCH] arm26: add L1_CACHE_SHIFT
Fix reiserfs compilation as a side effect =) Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Acked-by: Ian Molton <spyro@f2s.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
96419b7c4d
commit
511c3a2bee
1 changed files with 2 additions and 1 deletions
|
@ -4,7 +4,8 @@
|
||||||
#ifndef __ASMARM_CACHE_H
|
#ifndef __ASMARM_CACHE_H
|
||||||
#define __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 L1_CACHE_ALIGN(x) (((x)+(L1_CACHE_BYTES-1))&~(L1_CACHE_BYTES-1))
|
||||||
#define SMP_CACHE_BYTES L1_CACHE_BYTES
|
#define SMP_CACHE_BYTES L1_CACHE_BYTES
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue