aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/asm-x86/smp.h
diff options
context:
space:
mode:
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>2007-07-19 13:23:33 +0100
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>2007-07-19 13:23:33 +0100
commitde46483fe43c8b1b19d60026ae88ed9a6028b856 (patch)
tree39934a43ac831fc1b3a9e7575db94b9e5ff74341 /xen/include/asm-x86/smp.h
parentd3faf9badf52a00fb3c1da2bfbb49228ffca075a (diff)
downloadxen-de46483fe43c8b1b19d60026ae88ed9a6028b856.tar.gz
xen-de46483fe43c8b1b19d60026ae88ed9a6028b856.tar.bz2
xen-de46483fe43c8b1b19d60026ae88ed9a6028b856.zip
SMP support for Xen PM.
Add SMP sleep support to Xen. One new utility is created to allow vcpu continue previous running after migration to new processor. Signed-off-by: Kevin Tian <kevin.tian@intel.com> Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'xen/include/asm-x86/smp.h')
-rw-r--r--xen/include/asm-x86/smp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/xen/include/asm-x86/smp.h b/xen/include/asm-x86/smp.h
index 83a48f3ea1..9b36a64437 100644
--- a/xen/include/asm-x86/smp.h
+++ b/xen/include/asm-x86/smp.h
@@ -66,6 +66,8 @@ extern void disable_nonboot_cpus(void);
extern void enable_nonboot_cpus(void);
#else
static inline int cpu_is_offline(int cpu) {return 0;}
+static inline void disable_nonboot_cpus(void) {}
+static inline void enable_nonboot_cpus(void) {}
#endif
/*