diff options
author | Maciej W. Rozycki <macro@linux-mips.org> | 2008-07-12 22:29:42 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-13 05:43:48 -0400 |
commit | ce8b06b985ae48f9425de6e4641e77cb3613ef00 (patch) | |
tree | 5aa88135a3b65118a48b8615d5eec50f633044d4 /include/asm-x86 | |
parent | 3d88cca7085cffce077f808f36551e9050eb9e3a (diff) |
x86: I/O APIC: remove an IRQ2-mask hack
Now that IRQ2 is never made available to the I/O APIC, there is no need
to special-case it and mask as a workaround for broken systems. Actually,
because of the former, mask_IO_APIC_irq(2) is a no-op already.
Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org>
Cc: "Rafael J. Wysocki" <rjw@sisk.pl>
Cc: Matthew Garrett <mjg59@srcf.ucam.org>
Cc: Andreas Herrmann <andreas.herrmann3@amd.com>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/asm-x86')
-rw-r--r-- | include/asm-x86/genapic_32.h | 5 | ||||
-rw-r--r-- | include/asm-x86/genapic_64.h | 6 |
2 files changed, 0 insertions, 11 deletions
diff --git a/include/asm-x86/genapic_32.h b/include/asm-x86/genapic_32.h index 33a73f5ed222..b02ea6e17de8 100644 --- a/include/asm-x86/genapic_32.h +++ b/include/asm-x86/genapic_32.h | |||
@@ -119,10 +119,5 @@ enum uv_system_type {UV_NONE, UV_LEGACY_APIC, UV_X2APIC, UV_NON_UNIQUE_APIC}; | |||
119 | #define is_uv_system() 0 | 119 | #define is_uv_system() 0 |
120 | #define uv_wakeup_secondary(a, b) 1 | 120 | #define uv_wakeup_secondary(a, b) 1 |
121 | 121 | ||
122 | #ifdef CONFIG_X86_IO_APIC | ||
123 | extern void force_mask_ioapic_irq_2(void); | ||
124 | #else | ||
125 | static inline void force_mask_ioapic_irq_2(void) { } | ||
126 | #endif | ||
127 | 122 | ||
128 | #endif | 123 | #endif |
diff --git a/include/asm-x86/genapic_64.h b/include/asm-x86/genapic_64.h index 647e4e5c2580..0f8504627c41 100644 --- a/include/asm-x86/genapic_64.h +++ b/include/asm-x86/genapic_64.h | |||
@@ -46,10 +46,4 @@ extern int uv_wakeup_secondary(int phys_apicid, unsigned int start_rip); | |||
46 | 46 | ||
47 | extern void setup_apic_routing(void); | 47 | extern void setup_apic_routing(void); |
48 | 48 | ||
49 | #ifdef CONFIG_X86_IO_APIC | ||
50 | extern void force_mask_ioapic_irq_2(void); | ||
51 | #else | ||
52 | static inline void force_mask_ioapic_irq_2(void) { } | ||
53 | #endif | ||
54 | |||
55 | #endif | 49 | #endif |