summaryrefslogtreecommitdiffstats
path: root/arch/x86/xen/setup.c
diff options
context:
space:
mode:
authorLen Brown2013-02-10 05:08:07 +0100
committerLen Brown2013-02-10 07:06:34 +0100
commit6a377ddc4e4ede2eeb9cd46ada23bbe417704fc9 (patch)
tree6e97b12ef974ea03d22ea05a92824293c3eeca0b /arch/x86/xen/setup.c
parentLinux 3.8-rc6 (diff)
downloadkernel-qcow2-linux-6a377ddc4e4ede2eeb9cd46ada23bbe417704fc9.tar.gz
kernel-qcow2-linux-6a377ddc4e4ede2eeb9cd46ada23bbe417704fc9.tar.xz
kernel-qcow2-linux-6a377ddc4e4ede2eeb9cd46ada23bbe417704fc9.zip
xen idle: make xen-specific macro xen-specific
This macro is only invoked by Xen, so make its definition specific to Xen. > set_pm_idle_to_default() < xen_set_default_idle() Signed-off-by: Len Brown <len.brown@intel.com> Cc: xen-devel@lists.xensource.com
Diffstat (limited to 'arch/x86/xen/setup.c')
-rw-r--r--arch/x86/xen/setup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/xen/setup.c b/arch/x86/xen/setup.c
index 8971a26d21ab..2b73b5c8555f 100644
--- a/arch/x86/xen/setup.c
+++ b/arch/x86/xen/setup.c
@@ -561,7 +561,7 @@ void __init xen_arch_setup(void)
#endif
disable_cpuidle();
disable_cpufreq();
- WARN_ON(set_pm_idle_to_default());
+ WARN_ON(xen_set_default_idle());
fiddle_vdso();
#ifdef CONFIG_NUMA
numa_off = 1;