diff options
author | Avi Kivity | 2008-05-14 11:20:32 +0200 |
---|---|---|
committer | Thomas Gleixner | 2008-05-17 22:57:20 +0200 |
commit | 31f4d870b02e1590260ab7f2a9ff74306bd27e88 (patch) | |
tree | 9384bfc0e6bc23993feefc3344aa91ef2b0d933a /arch/x86/kernel/process.c | |
parent | x86: remove mwait capability C-state check (diff) | |
download | kernel-qcow2-linux-31f4d870b02e1590260ab7f2a9ff74306bd27e88.tar.gz kernel-qcow2-linux-31f4d870b02e1590260ab7f2a9ff74306bd27e88.tar.xz kernel-qcow2-linux-31f4d870b02e1590260ab7f2a9ff74306bd27e88.zip |
x86: fix crash on cpu hotplug on pat-incapable machines
pat_disable() is __init, which means it goes away after booting is complete.
Unfortunately it is used by the hotplug code if the machine is not
pat-capable, causing a crash.
Fix by marking pat_disable() as __cpuinit.
Signed-off-by: Avi Kivity <avi@qumranet.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/process.c')
0 files changed, 0 insertions, 0 deletions