projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c67dda1
)
sparc: remove homegrown L1_CACHE_ALIGN macro
author
FUJITA Tomonori
<fujita.tomonori@lab.ntt.co.jp>
Tue, 29 Jun 2010 07:38:02 +0000
(
00:38
-0700)
committer
David 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
patch
|
blob
|
history
diff --git
a/arch/sparc/include/asm/cache.h
b/arch/sparc/include/asm/cache.h
index 0588b8c7faa26b5eb596a1c52a1bcbf77a53bc92..69358b590c9156953ee3c45deb471e4833c7d370 100644
(file)
--- a/
arch/sparc/include/asm/cache.h
+++ b/
arch/sparc/include/asm/cache.h
@@
-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