diff options
author | Len Brown <len.brown@intel.com> | 2013-02-09 23:08:07 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2013-02-10 01:06:34 -0500 |
commit | 6a377ddc4e4ede2eeb9cd46ada23bbe417704fc9 (patch) | |
tree | 6e97b12ef974ea03d22ea05a92824293c3eeca0b /arch/x86/include/asm/processor.h | |
parent | 88b62b915b0b7e25870eb0604ed9a92ba4bfc9f7 (diff) |
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/include/asm/processor.h')
-rw-r--r-- | arch/x86/include/asm/processor.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/x86/include/asm/processor.h b/arch/x86/include/asm/processor.h index 888184b2fc85..c2f7f472275e 100644 --- a/arch/x86/include/asm/processor.h +++ b/arch/x86/include/asm/processor.h | |||
@@ -998,7 +998,11 @@ extern unsigned long arch_align_stack(unsigned long sp); | |||
998 | extern void free_init_pages(char *what, unsigned long begin, unsigned long end); | 998 | extern void free_init_pages(char *what, unsigned long begin, unsigned long end); |
999 | 999 | ||
1000 | void default_idle(void); | 1000 | void default_idle(void); |
1001 | bool set_pm_idle_to_default(void); | 1001 | #ifdef CONFIG_XEN |
1002 | bool xen_set_default_idle(void); | ||
1003 | #else | ||
1004 | #define xen_set_default_idle 0 | ||
1005 | #endif | ||
1002 | 1006 | ||
1003 | void stop_this_cpu(void *dummy); | 1007 | void stop_this_cpu(void *dummy); |
1004 | 1008 | ||