]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] i386: Replace broken serialize_cpu in microcode driver with correct sync_core
authorAndi Kleen <ak@suse.de>
Wed, 11 Jan 2006 21:45:27 +0000 (22:45 +0100)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 12 Jan 2006 03:04:58 +0000 (19:04 -0800)
commit487472bc01fab0625996aad37836aad931e4eda9
treeede143ee4c756413b396911b3702068283b052f2
parentc818a18146997d1356a4840b0c01f1168c16c8a4
[PATCH] i386: Replace broken serialize_cpu in microcode driver with correct sync_core

Passing random input values in eax to cpuid is not a good idea
because the CPU will GPF for unknown ones.
Use the correct x86-64 version that exists for a longer time too.
This also adds a memory barrier to prevent the optimizer from
reordering.

Cc: tigran@veritas.com
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/i386/kernel/microcode.c
include/asm-i386/processor.h