Skip to content

Commit

Permalink
sparc: remove homegrown L1_CACHE_ALIGN macro
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
FUJITA Tomonori authored and David S. Miller committed Jun 29, 2010
1 parent c67dda1 commit f5fa3cb
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion arch/sparc/include/asm/cache.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f5fa3cb

Please sign in to comment.