summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/mpparse_32.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-03-17 22:29:32 +0200
committerIngo Molnar <mingo@elte.hu>2008-04-17 17:41:13 +0200
commitede1389f8ab4f3a1343e567133fa9720a054a3aa (patch)
treeaf3dd4019c786ecadce2f7f3e70eb6446a0a4d31 /arch/x86/kernel/mpparse_32.c
parent6542fe80e6296cde50c1c3b8a9eede701ee51907 (diff)
downloadkernel-crypto-ede1389f8ab4f3a1343e567133fa9720a054a3aa.tar.gz
kernel-crypto-ede1389f8ab4f3a1343e567133fa9720a054a3aa.tar.xz
kernel-crypto-ede1389f8ab4f3a1343e567133fa9720a054a3aa.zip
x86: remove the write-only timer_uses_ioapic_pin_0
This patch removes the write-only timer_uses_ioapic_pin_0 (gsi can't be <= 15 in the line of it's fake usage in mpparse_32.c). Spotted by the GNU C compiler. Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/mpparse_32.c')
-rw-r--r--arch/x86/kernel/mpparse_32.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86/kernel/mpparse_32.c b/arch/x86/kernel/mpparse_32.c
index 15dd8711029..15265ee11f8 100644
--- a/arch/x86/kernel/mpparse_32.c
+++ b/arch/x86/kernel/mpparse_32.c
@@ -1176,8 +1176,7 @@ int mp_register_gsi(u32 gsi, int triggering, int polarity)
* So test for this condition, and if necessary, avoid
* the pin collision.
*/
- if (gsi > 15 || (gsi == 0 && !timer_uses_ioapic_pin_0))
- gsi = pci_irq++;
+ gsi = pci_irq++;
/*
* Don't assign IRQ used by ACPI SCI
*/