mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-11-30 07:29:42 -05:00
[PATCH] arm26: add L1_CACHE_SHIFT
Fix reiserfs compilation as a side effect =) Signed-off-by: Alexey Dobriyan <[email protected]> Acked-by: Ian Molton <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
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
|
||||
#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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue