diff options
author | Eric Dumazet <dada1@cosmosbay.com> | 2006-04-20 02:36:48 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-04-20 16:58:11 +0200 |
commit | 0b699e36b2d43c1b4288992683e5913d347b5b78 (patch) | |
tree | 1ed44a6e82f71e596a0a7de75aefbbbdd904534e /include/asm-x86_64 | |
parent | [PATCH] i386/x86-64: Fix x87 information leak between processes (diff) | |
download | linux-0b699e36b2d43c1b4288992683e5913d347b5b78.tar.xz linux-0b699e36b2d43c1b4288992683e5913d347b5b78.zip |
[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>
Diffstat (limited to 'include/asm-x86_64')
-rw-r--r-- | include/asm-x86_64/cache.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-x86_64/cache.h b/include/asm-x86_64/cache.h index c8043a16152e..f8dff1c67538 100644 --- a/include/asm-x86_64/cache.h +++ b/include/asm-x86_64/cache.h @@ -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 |