Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4e034b24 authored by Henrik Kretzschmar's avatar Henrik Kretzschmar Committed by Ingo Molnar
Browse files

x86: Move ioapic_irq_destination_types to apicdef.h



This enum is used by non IOAPIC code, so apicdef.h is
the best place for it.

Signed-off-by: default avatarHenrik Kretzschmar <henne@nachtwindheim.de>
LKML-Reference: <1298385487-4708-1-git-send-email-henne@nachtwindheim.de>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent f5412be5
Loading
Loading
Loading
Loading
+12 −0
Original line number Original line Diff line number Diff line
@@ -426,4 +426,16 @@ struct local_apic {
#else
#else
 #define BAD_APICID 0xFFFFu
 #define BAD_APICID 0xFFFFu
#endif
#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 */
#endif /* _ASM_X86_APICDEF_H */
+0 −11
Original line number Original line Diff line number Diff line
@@ -63,17 +63,6 @@ union IO_APIC_reg_03 {
	} __attribute__ ((packed)) bits;
	} __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 {
struct IO_APIC_route_entry {
	__u32	vector		:  8,
	__u32	vector		:  8,
		delivery_mode	:  3,	/* 000: FIXED
		delivery_mode	:  3,	/* 000: FIXED