Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=2278caa3c850c8f0aac4e1db7649a2c90cdaa9e9
Commit:     2278caa3c850c8f0aac4e1db7649a2c90cdaa9e9
Parent:     3f9654f02ede996e5be73866da716b325a6fb66b
Author:     Paul Mundt <[EMAIL PROTECTED]>
AuthorDate: Tue Oct 30 17:28:52 2007 +0900
Committer:  Paul Mundt <[EMAIL PROTECTED]>
CommitDate: Tue Oct 30 17:28:52 2007 +0900

    sh: Use generic SMP_CACHE_BYTES/L1_CACHE_ALIGN.
    
    Signed-off-by: Paul Mundt <[EMAIL PROTECTED]>
---
 include/asm-sh/cache.h     |    3 ---
 include/asm-sh/processor.h |    2 +-
 2 files changed, 1 insertions(+), 4 deletions(-)

diff --git a/include/asm-sh/cache.h b/include/asm-sh/cache.h
index 7a18649..0fe7cf9 100644
--- a/include/asm-sh/cache.h
+++ b/include/asm-sh/cache.h
@@ -18,9 +18,6 @@
 #define SH_CACHE_ASSOC         8
 
 #define L1_CACHE_BYTES         (1 << L1_CACHE_SHIFT)
-#define SMP_CACHE_BYTES                L1_CACHE_BYTES
-
-#define L1_CACHE_ALIGN(x)      (((x)+(L1_CACHE_BYTES-1))&~(L1_CACHE_BYTES-1))
 
 #ifndef __ASSEMBLY__
 struct cache_info {
diff --git a/include/asm-sh/processor.h b/include/asm-sh/processor.h
index 4f2922a..ab0028d 100644
--- a/include/asm-sh/processor.h
+++ b/include/asm-sh/processor.h
@@ -71,7 +71,7 @@ struct sh_cpuinfo {
        struct cache_info scache;       /* Secondary cache */
 
        unsigned long flags;
-} __attribute__ ((aligned(SMP_CACHE_BYTES)));
+} __attribute__ ((aligned(L1_CACHE_BYTES)));
 
 extern struct sh_cpuinfo cpu_data[];
 #define boot_cpu_data cpu_data[0]
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to