mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
x86: delete not really used ioapic_renumber_irq variable
Signed-off-by: Jan Beulich <jbeulich@novell.com> xen-unstable changeset: 22281:2f87a77dc7b9 xen-unstable date: Sun Oct 24 13:15:48 2010 +0100
This commit is contained in:
1 parent
da4968239e
commit
6a11528845
3 files changed
-12
No files matched your search
@@ -38,7 +38,6 @@
|
||||
#include <io_ports.h>
|
||||
#include <public/physdev.h>
|
||||
|
||||
int (*ioapic_renumber_irq)(int ioapic, int irq);
|
||||
atomic_t irq_mis_count;
|
||||
|
||||
/* Where if anywhere is the i8259 connect in external int mode */
|
||||
@@ -877,13 +876,6 @@ static int pin_2_irq(int idx, int apic, int pin)
|
||||
while (i < apic)
|
||||
irq += nr_ioapic_registers[i++];
|
||||
irq += pin;
|
||||
|
||||
/*
|
||||
* For MPS mode, so far only needed by ES7000 platform
|
||||
*/
|
||||
if (ioapic_renumber_irq)
|
||||
irq = ioapic_renumber_irq(apic, irq);
|
||||
|
||||
break;
|
||||
}
|
||||
default:
|
||||
|
||||
@@ -1123,9 +1123,6 @@ int mp_register_gsi (u32 gsi, int triggering, int polarity)
|
||||
|
||||
ioapic_pin = gsi - mp_ioapic_routing[ioapic].gsi_base;
|
||||
|
||||
if (ioapic_renumber_irq)
|
||||
gsi = ioapic_renumber_irq(ioapic, gsi);
|
||||
|
||||
if (!(irq_to_desc(gsi)->status & IRQ_DISABLED))
|
||||
return -EEXIST;
|
||||
|
||||
|
||||
@@ -195,7 +195,6 @@ extern int timer_uses_ioapic_pin_0;
|
||||
|
||||
extern void init_ioapic_mappings(void);
|
||||
|
||||
extern int (*ioapic_renumber_irq)(int ioapic, int irq);
|
||||
extern void ioapic_suspend(void);
|
||||
extern void ioapic_resume(void);
|
||||
|
||||
|
||||