[PATCH] x86_64: bring back __read_mostly support to linux-2.6.17-rc2
authorEric Dumazet <dada1@cosmosbay.com>
Thu, 20 Apr 2006 00:36:48 +0000 (02:36 +0200)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 20 Apr 2006 14:58:11 +0000 (07:58 -0700)
commit0b699e36b2d43c1b4288992683e5913d347b5b78
tree1ed44a6e82f71e596a0a7de75aefbbbdd904534e
parent18bd057b1408cd110ed23281533430cfc2d52091
[PATCH] x86_64: bring back __read_mostly support to linux-2.6.17-rc2

It seems latest kernel 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@cosmosbay.com>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/asm-x86_64/cache.h