/* When we mask an IO APIC routing entry, we need to write the low word first, in order to set the mask bit before we change the high bits!  */
static void ioapic_mask_entry(int apic, int pin)
/* When we mask an IO APIC routing entry, we need to write the low word first, in order to set the mask bit before we change the high bits!  */
static void ioapic_mask_entry(int apic, int pin)
{
	unsigned long flags;
	union entry_union eu = { .entry.mask = 1 };
	spin_lock_irqsave(&ioapic_lock, flags);
	io_apic_write(apic, 0x10 + 2*pin, eu.w1);
	io_apic_write(apic, 0x11 + 2*pin, eu.w2);
	spin_unlock_irqrestore(&ioapic_lock, flags);
}