[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>

authored by Eric Dumazet and committed by Linus Torvalds 0b699e36 18bd057b

+2 -2
+2 -2
include/asm-x86_64/cache.h
··· 20 20 __attribute__((__section__(".data.page_aligned"))) 21 21 #endif 22 22 23 - #define __read_mostly __attribute__((__section__(".data.read_mostly"))) 24 - 25 23 #endif 24 + 25 + #define __read_mostly __attribute__((__section__(".data.read_mostly"))) 26 26 27 27 #endif