diff options
author | Joerg Roedel <joro@8bytes.org> | 2012-09-26 06:44:42 -0400 |
---|---|---|
committer | Joerg Roedel <joro@8bytes.org> | 2013-01-28 06:17:26 -0500 |
commit | 1d254428c0ba30a0fbb8112d875ba64f4e60db25 (patch) | |
tree | 11bf707d950a746ee8a9d304d5c6a6fa8da6b511 | |
parent | 6a9f5de27216801b4e38ccd8aa0168a5dd8eca9b (diff) |
x86, io_apic: Remove irq_remapping_enabled check in setup_timer_IRQ0_pin
This function is only called when irq-remapping is disabled.
Signed-off-by: Joerg Roedel <joro@8bytes.org>
Acked-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
-rw-r--r-- | arch/x86/kernel/apic/io_apic.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/x86/kernel/apic/io_apic.c b/arch/x86/kernel/apic/io_apic.c index aa2b75360115..ee0757db34ec 100644 --- a/arch/x86/kernel/apic/io_apic.c +++ b/arch/x86/kernel/apic/io_apic.c | |||
@@ -1475,9 +1475,6 @@ static void __init setup_timer_IRQ0_pin(unsigned int ioapic_idx, | |||
1475 | struct IO_APIC_route_entry entry; | 1475 | struct IO_APIC_route_entry entry; |
1476 | unsigned int dest; | 1476 | unsigned int dest; |
1477 | 1477 | ||
1478 | if (irq_remapping_enabled) | ||
1479 | return; | ||
1480 | |||
1481 | memset(&entry, 0, sizeof(entry)); | 1478 | memset(&entry, 0, sizeof(entry)); |
1482 | 1479 | ||
1483 | /* | 1480 | /* |