[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [linux-2.6.18-xen] xen/x86: allow non-SMP builds of blktap2 to succeed



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1247220094 -3600
# Node ID 199c5c9a5a5edef596942cffa58fe40e653061a0
# Parent  c27fe3158f211e6b331827084916fe6d464910a2
xen/x86: allow non-SMP builds of blktap2 to succeed

c/s 893 introduced a regression here, since xen_invlpg_all() is an
SMP-only function.

Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>
---
 include/asm-i386/mach-xen/asm/hypervisor.h |    3 +++
 1 files changed, 3 insertions(+)

diff -r c27fe3158f21 -r 199c5c9a5a5e include/asm-i386/mach-xen/asm/hypervisor.h
--- a/include/asm-i386/mach-xen/asm/hypervisor.h        Mon Jul 06 15:20:52 
2009 +0100
+++ b/include/asm-i386/mach-xen/asm/hypervisor.h        Fri Jul 10 11:01:34 
2009 +0100
@@ -114,6 +114,9 @@ void xen_invlpg_all(unsigned long ptr);
 void xen_invlpg_all(unsigned long ptr);
 void xen_tlb_flush_mask(cpumask_t *mask);
 void xen_invlpg_mask(cpumask_t *mask, unsigned long ptr);
+#else
+#define xen_tlb_flush_all xen_tlb_flush
+#define xen_invlpg_all xen_invlpg
 #endif
 
 /* Returns zero on success else negative errno. */

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.