]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
apic: fix typo EIO_ACK -> EOI_ACK and document
authorMichael S. Tsirkin <mst@redhat.com>
Wed, 18 Apr 2012 13:25:25 +0000 (16:25 +0300)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 18 Apr 2012 20:00:04 +0000 (23:00 +0300)
Fix typo in the macro name and document the
reason it has this value. Update users.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
arch/x86/include/asm/apicdef.h
arch/x86/platform/visws/visws_quirks.c

index 134bba00df09db0ebc3c6b6a0fa091cd367e1e3c..c46bb99d5fb29f7958d651bd3d465038e9e6a1c8 100644 (file)
@@ -37,7 +37,7 @@
 #define                APIC_ARBPRI_MASK        0xFFu
 #define        APIC_PROCPRI    0xA0
 #define        APIC_EOI        0xB0
-#define                APIC_EIO_ACK            0x0
+#define                APIC_EOI_ACK            0x0 /* Docs say 0 for future compat. */
 #define        APIC_RRR        0xC0
 #define        APIC_LDR        0xD0
 #define                APIC_LDR_MASK           (0xFFu << 24)
index c7abf13a213ffb266371752e6fe827ebf92fe954..94d8a39332ec84536e7a3ea41aeda513bc1e16c9 100644 (file)
@@ -445,7 +445,7 @@ static void ack_cobalt_irq(struct irq_data *data)
 
        spin_lock_irqsave(&cobalt_lock, flags);
        disable_cobalt_irq(data);
-       apic_write(APIC_EOI, APIC_EIO_ACK);
+       apic_write(APIC_EOI, APIC_EOI_ACK);
        spin_unlock_irqrestore(&cobalt_lock, flags);
 }