X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fasm-x86_64%2Fipi.h;fp=include%2Fasm-x86_64%2Fipi.h;h=be4bc7638c81029c5f6cd9f3f346f68b192c280f;hb=4e76c8a9fa413ccc09d3f7f664183dcce3555d57;hp=2a5c162b7d925c1fc5ba7b1db1cbf6a8fe2f933a;hpb=1db395853d4f30d6120458bd279ede1f882a8525;p=linux-2.6.git diff --git a/include/asm-x86_64/ipi.h b/include/asm-x86_64/ipi.h index 2a5c162b7..be4bc7638 100644 --- a/include/asm-x86_64/ipi.h +++ b/include/asm-x86_64/ipi.h @@ -49,6 +49,7 @@ static inline int __prepare_ICR2 (unsigned int mask) return SET_APIC_DEST_FIELD(mask); } +#ifndef CONFIG_XEN_UNPRIVILEGED_GUEST static inline void __send_IPI_shortcut(unsigned int shortcut, int vector, unsigned int dest) { /* @@ -113,5 +114,6 @@ static inline void send_IPI_mask_sequence(cpumask_t mask, int vector) } local_irq_restore(flags); } +#endif /* CONFIG_XEN_UNPRIVILEGED_GUEST */ #endif /* __ASM_IPI_H */