linux/x86: allow non-SMP builds of blktap2 to succeed
PATCH RESEND 1/1 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 <[email protected]>
include/asm-i386/mach-xen/asm/hypervisor.h +3 -0
@@ -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. */