mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] sparc: remove homegrown L1_CACHE_ALIGN macro
@ 2010-06-29  7:29 FUJITA Tomonori
  2010-06-29  7:37 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: FUJITA Tomonori @ 2010-06-29  7:29 UTC (permalink / raw)
  To: davem; +Cc: sparclinux, linux-kernel

Let's use the standard L1_CACHE_ALIGN macro instead.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
---
 arch/sparc/include/asm/cache.h |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/arch/sparc/include/asm/cache.h b/arch/sparc/include/asm/cache.h
index 0588b8c..69358b5 100644
--- 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
-- 
1.6.5


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] sparc: remove homegrown L1_CACHE_ALIGN macro
  2010-06-29  7:29 [PATCH] sparc: remove homegrown L1_CACHE_ALIGN macro FUJITA Tomonori
@ 2010-06-29  7:37 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2010-06-29  7:37 UTC (permalink / raw)
  To: fujita.tomonori; +Cc: sparclinux, linux-kernel

From: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Date: Tue, 29 Jun 2010 16:29:01 +0900

> Let's use the standard L1_CACHE_ALIGN macro instead.
> 
> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>

Applied, thanks.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-06-29  7:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-06-29  7:29 [PATCH] sparc: remove homegrown L1_CACHE_ALIGN macro FUJITA Tomonori
2010-06-29  7:37 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®