fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git] / include / asm-x86_64 / ipi.h
index be4bc76..cbf6a2b 100644 (file)
@@ -49,9 +49,12 @@ 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)
 {
+#ifdef CONFIG_XEN_UNPRIVILEGED_GUEST
+       BUG();
+#else
        /*
         * Subtle. In the case of the 'never do double writes' workaround
         * we have to lock out interrupts to be safe.  As we don't care
@@ -75,6 +78,7 @@ static inline void __send_IPI_shortcut(unsigned int shortcut, int vector, unsign
         * Send the IPI. The write to APIC_ICR fires this off.
         */
        apic_write(APIC_ICR, cfg);
+#endif /* !CONFIG_XEN_UNPRIVILEGED_GUEST */
 }
 
 
@@ -114,6 +118,5 @@ 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 */