Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

FUJITA Tomonori and committed by
David S. Miller
f5fa3cb9 c67dda14

-1
-1
arch/sparc/include/asm/cache.h
··· 11 11 12 12 #define L1_CACHE_SHIFT 5 13 13 #define L1_CACHE_BYTES 32 14 - #define L1_CACHE_ALIGN(x) ((((x)+(L1_CACHE_BYTES-1))&~(L1_CACHE_BYTES-1))) 15 14 16 15 #ifdef CONFIG_SPARC32 17 16 #define SMP_CACHE_BYTES_SHIFT 5