Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=121fc47db6f4868890225e987447ee59a1e1c5b5
Commit:     121fc47db6f4868890225e987447ee59a1e1c5b5
Parent:     36b13d767ad68713ab498d71c8df78ca788bda63
Author:     Paul Mundt <[EMAIL PROTECTED]>
AuthorDate: Tue Oct 30 17:39:07 2007 +0900
Committer:  Paul Mundt <[EMAIL PROTECTED]>
CommitDate: Tue Oct 30 17:39:07 2007 +0900

    sh: Provide a __read_mostly section wrapper.
    
    Signed-off-by: Paul Mundt <[EMAIL PROTECTED]>
---
 include/asm-sh/cache.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/include/asm-sh/cache.h b/include/asm-sh/cache.h
index 0fe7cf9..01e5cf5 100644
--- a/include/asm-sh/cache.h
+++ b/include/asm-sh/cache.h
@@ -19,6 +19,8 @@
 
 #define L1_CACHE_BYTES         (1 << L1_CACHE_SHIFT)
 
+#define __read_mostly __attribute__((__section__(".data.read_mostly")))
+
 #ifndef __ASSEMBLY__
 struct cache_info {
        unsigned int ways;              /* Number of cache ways */
-
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