]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
x86: Move ioapic_irq_destination_types to apicdef.h
authorHenrik Kretzschmar <henne@nachtwindheim.de>
Tue, 22 Feb 2011 14:38:03 +0000 (15:38 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 23 Feb 2011 10:38:44 +0000 (11:38 +0100)
This enum is used by non IOAPIC code, so apicdef.h is
the best place for it.

Signed-off-by: Henrik Kretzschmar <henne@nachtwindheim.de>
LKML-Reference: <1298385487-4708-1-git-send-email-henne@nachtwindheim.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/include/asm/apicdef.h
arch/x86/include/asm/io_apic.h

index 47a30ff8e51782a31f146c78b458ea6a89bcacc3..d87988bacf3ec497a6a5db9ee1e2b54214b4cdf2 100644 (file)
@@ -426,4 +426,16 @@ struct local_apic {
 #else
  #define BAD_APICID 0xFFFFu
 #endif
+
+enum ioapic_irq_destination_types {
+       dest_Fixed              = 0,
+       dest_LowestPrio         = 1,
+       dest_SMI                = 2,
+       dest__reserved_1        = 3,
+       dest_NMI                = 4,
+       dest_INIT               = 5,
+       dest__reserved_2        = 6,
+       dest_ExtINT             = 7
+};
+
 #endif /* _ASM_X86_APICDEF_H */
index f327d386d6cc913975272398f4766b8fa18882c3..e1a9b0ef43b112b87453ccdc312dc0d809ae7d35 100644 (file)
@@ -63,17 +63,6 @@ union IO_APIC_reg_03 {
        } __attribute__ ((packed)) bits;
 };
 
-enum ioapic_irq_destination_types {
-       dest_Fixed = 0,
-       dest_LowestPrio = 1,
-       dest_SMI = 2,
-       dest__reserved_1 = 3,
-       dest_NMI = 4,
-       dest_INIT = 5,
-       dest__reserved_2 = 6,
-       dest_ExtINT = 7
-};
-
 struct IO_APIC_route_entry {
        __u32   vector          :  8,
                delivery_mode   :  3,   /* 000: FIXED