mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
[PATCH] Kill L1_CACHE_SHIFT_MAX
Kill L1_CACHE_SHIFT from all arches. Since L1_CACHE_SHIFT_MAX is not used anymore with the introduction of INTERNODE_CACHE, kill L1_CACHE_SHIFT_MAX. Signed-off-by: Ravikiran Thirumalai <[email protected]> Signed-off-by: Shai Fultheim <[email protected]> Signed-off-by: Andi Kleen <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
22fc6eccbf
commit
1fd73c6b67
23 changed files with 4 additions and 36 deletions
|
|
@ -20,8 +20,6 @@
|
|||
#define L1_CACHE_ALIGN_MASK (~(L1_CACHE_BYTES - 1))
|
||||
#define L1_CACHE_ALIGN(x) (((x)+(L1_CACHE_BYTES - 1)) & L1_CACHE_ALIGN_MASK)
|
||||
#define L1_CACHE_SIZE_BYTES (L1_CACHE_BYTES << 10)
|
||||
/* Largest L1 which this arch supports */
|
||||
#define L1_CACHE_SHIFT_MAX 5
|
||||
|
||||
#ifdef MODULE
|
||||
#define __cacheline_aligned __attribute__((__aligned__(L1_CACHE_BYTES)))
|
||||
|
|
|
|||
Loading…
Reference in a new issue