]> git.karo-electronics.de Git - linux-beck.git/commitdiff
sparc: remove homegrown L1_CACHE_ALIGN macro
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Tue, 29 Jun 2010 07:38:02 +0000 (00:38 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 Jun 2010 07:38:02 +0000 (00:38 -0700)
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>
arch/sparc/include/asm/cache.h

index 0588b8c7faa26b5eb596a1c52a1bcbf77a53bc92..69358b590c9156953ee3c45deb471e4833c7d370 100644 (file)
@@ -11,7 +11,6 @@
 
 #define L1_CACHE_SHIFT 5
 #define L1_CACHE_BYTES 32
-#define L1_CACHE_ALIGN(x) ((((x)+(L1_CACHE_BYTES-1))&~(L1_CACHE_BYTES-1)))
 
 #ifdef CONFIG_SPARC32
 #define SMP_CACHE_BYTES_SHIFT 5