]> git.baikalelectronics.ru Git - kernel.git/commit
x86: Fix override new_cpu_data.x86 with 486
authorWang YanQing <udknight@gmail.com>
Fri, 28 Jun 2013 14:45:16 +0000 (22:45 +0800)
committerH. Peter Anvin <hpa@linux.intel.com>
Fri, 28 Jun 2013 22:27:29 +0000 (15:27 -0700)
commitfc514d028e4d3d95b5a80b2788fcb81e5e3f1b06
tree2e3caeeddde3e72d849e707b7022cf1829626fb9
parent65a21380d732110a14ba121290f9f34f7dd0ef20
x86: Fix override new_cpu_data.x86 with 486

We should set X86 to 486 before use cpuid to detect the cpu type, if
we set X86 to 486 after cpuid, then we will get 486 until cpu_detect
runs.

Signed-off-by: Wang YanQing <udknight@gmail.com>
Link: http://lkml.kernel.org/r/20130628144516.GA2177@udknight
Acked-by: Borislav Petkov <bp@suse.de>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/kernel/head_32.S