summaryrefslogtreecommitdiffstats
path: root/arch/x86/boot
diff options
context:
space:
mode:
authorH. Peter Anvin2009-12-14 19:02:18 +0100
committerH. Peter Anvin2009-12-14 19:05:05 +0100
commit494c2ebfb287eb10b229415063099e3700639028 (patch)
treeac55499ae26219e6c4eaad3b73fd143104048d65 /arch/x86/boot
parentx86, mce: Clean up thermal init by introducing intel_thermal_supported() (diff)
downloadkernel-qcow2-linux-494c2ebfb287eb10b229415063099e3700639028.tar.gz
kernel-qcow2-linux-494c2ebfb287eb10b229415063099e3700639028.tar.xz
kernel-qcow2-linux-494c2ebfb287eb10b229415063099e3700639028.zip
x86, msr: Remove incorrect, duplicated code in the MSR driver
The MSR driver would compute the values for cpu and c at declaration, and then again in the body of the function. This isn't merely redundant, but unsafe, since cpu might not refer to a valid CPU at that point. Remove the unnecessary and dangerous references in the declarations. This code now matches the equivalent code in the CPUID driver. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'arch/x86/boot')
0 files changed, 0 insertions, 0 deletions