x86, hotplug: The first online processor saves the MTRR state
authorFenghua Yu <fenghua.yu@intel.com>
Tue, 13 Nov 2012 19:32:48 +0000 (11:32 -0800)
committerH. Peter Anvin <hpa@linux.intel.com>
Wed, 14 Nov 2012 23:28:10 +0000 (15:28 -0800)
commit30242aa6023b71325c6b8addac06faf544a85fd0
tree94b99db2e530fe10a11cfdacb16a6c36f4e2e27e
parent27fd185f3d9e83c64b7a596881d7751a638c9683
x86, hotplug: The first online processor saves the MTRR state

Ask the first online CPU to save mtrr instead of asking BSP. BSP could be
offline when mtrr_save_state() is called.

Signed-off-by: Fenghua Yu <fenghua.yu@intel.com>
Link: http://lkml.kernel.org/r/1352835171-3958-12-git-send-email-fenghua.yu@intel.com
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/kernel/cpu/mtrr/main.c