Jan Beulich
2009-Jul-10 06:56 UTC
[Xen-devel] [PATCH, resend] linux/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. As usual, written and tested on 2.6.30 and made apply to the 2.6.18 tree without further testing. Signed-off-by: Jan Beulich <jbeulich@novell.com> --- a/include/asm-i386/mach-xen/asm/hypervisor.h +++ b/include/asm-i386/mach-xen/asm/hypervisor.h @@ -124,6 +124,9 @@ void xen_tlb_flush_all(void); 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-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel