sparc: remove homegrown L1_CACHE_ALIGN macro
Let's use the standard L1_CACHE_ALIGN macro instead. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
c67dda1438
commit
f5fa3cb9b7
|
@ -11,7 +11,6 @@
|
||||||
|
|
||||||
#define L1_CACHE_SHIFT 5
|
#define L1_CACHE_SHIFT 5
|
||||||
#define L1_CACHE_BYTES 32
|
#define L1_CACHE_BYTES 32
|
||||||
#define L1_CACHE_ALIGN(x) ((((x)+(L1_CACHE_BYTES-1))&~(L1_CACHE_BYTES-1)))
|
|
||||||
|
|
||||||
#ifdef CONFIG_SPARC32
|
#ifdef CONFIG_SPARC32
|
||||||
#define SMP_CACHE_BYTES_SHIFT 5
|
#define SMP_CACHE_BYTES_SHIFT 5
|
||||||
|
|
Loading…
Reference in New Issue