[PATCH] x86: fix x86 cpuid keys used in alternative_smp()
authorJan Beulich <jbeulich@novell.com>
Wed, 30 Aug 2006 17:37:10 +0000 (19:37 +0200)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 30 Aug 2006 23:05:15 +0000 (16:05 -0700)
commit61171b8dbd36b0cc34d3813a59a8e4dc2984414d
tree5c4dede0bddc19c1e564ebcd95976afcebe63a4f
parent29fe5f3bafb644c33269fb0f2a719d4809a07332
[PATCH] x86: fix x86 cpuid keys used in alternative_smp()

By hard-coding the cpuid keys for alternative_smp() rather than using
the symbolic constant it turned out that incorrect values were used on
both i386 (0x68 instead of 0x69) and x86-64 (0x66 instead of 0x68).

Signed-off-by: Jan Beulich <jbeulich@novell.com>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/asm-i386/alternative.h
include/asm-x86_64/alternative.h