- x86_64-bring-back-__read_mostly-support.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled

     x86_64: bring back __read_mostly support

has been removed from the -mm tree.  Its filename is

     x86_64-bring-back-__read_mostly-support.patch

This patch was probably dropped from -mm because
it has now been merged into a subsystem tree or
into Linus's tree, or because it was folded into
its parent patch in the -mm tree.


From: Eric Dumazet <dada1@xxxxxxxxxxxxx>

It seems latest kernel (2.6.17-rc2) has a wrong/missing __read_mostly
implementation for x86_64

__read_mostly macro should be declared outside of #if CONFIG_X86_VSMP block

Signed-off-by: Eric Dumazet <dada1@xxxxxxxxxxxxx>
Acked-by: Andi Kleen <ak@xxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 include/asm-x86_64/cache.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff -puN include/asm-x86_64/cache.h~x86_64-bring-back-__read_mostly-support include/asm-x86_64/cache.h
--- devel/include/asm-x86_64/cache.h~x86_64-bring-back-__read_mostly-support	2006-04-19 23:37:26.000000000 -0700
+++ devel-akpm/include/asm-x86_64/cache.h	2006-04-19 23:37:26.000000000 -0700
@@ -20,8 +20,8 @@
        __attribute__((__section__(".data.page_aligned")))
 #endif
 
-#define __read_mostly __attribute__((__section__(".data.read_mostly")))
-
 #endif
 
+#define __read_mostly __attribute__((__section__(".data.read_mostly")))
+
 #endif
_

Patches currently in -mm which might be from dada1@xxxxxxxxxxxxx are

origin.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux