[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] x86: delete not really used ioapic_renumber_irq variable



# HG changeset patch
# User Keir Fraser <keir@xxxxxxx>
# Date 1287922548 -3600
# Node ID 2f87a77dc7b997b0dde5d4a8ad5e913934bf0ce0
# Parent  d6e3cd10a9a6ab16d0cc772ee70b2ae99e8fac31
x86: delete not really used ioapic_renumber_irq variable

Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>
---
 xen/arch/x86/io_apic.c        |    8 --------
 xen/arch/x86/mpparse.c        |    3 ---
 xen/include/asm-x86/io_apic.h |    1 -
 3 files changed, 12 deletions(-)

diff -r d6e3cd10a9a6 -r 2f87a77dc7b9 xen/arch/x86/io_apic.c
--- a/xen/arch/x86/io_apic.c    Sun Oct 24 13:15:06 2010 +0100
+++ b/xen/arch/x86/io_apic.c    Sun Oct 24 13:15:48 2010 +0100
@@ -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, 
         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:
diff -r d6e3cd10a9a6 -r 2f87a77dc7b9 xen/arch/x86/mpparse.c
--- a/xen/arch/x86/mpparse.c    Sun Oct 24 13:15:06 2010 +0100
+++ b/xen/arch/x86/mpparse.c    Sun Oct 24 13:15:48 2010 +0100
@@ -1116,9 +1116,6 @@ int mp_register_gsi (u32 gsi, int trigge
 
        ioapic_pin = gsi - mp_ioapic_routing[ioapic].gsi_base;
 
-       if (ioapic_renumber_irq)
-               gsi = ioapic_renumber_irq(ioapic, gsi);
-
        desc = irq_to_desc(gsi);
        spin_lock_irqsave(&desc->lock, flags);
        if (!(desc->status & IRQ_DISABLED) && desc->handler != &no_irq_type) {
diff -r d6e3cd10a9a6 -r 2f87a77dc7b9 xen/include/asm-x86/io_apic.h
--- a/xen/include/asm-x86/io_apic.h     Sun Oct 24 13:15:06 2010 +0100
+++ b/xen/include/asm-x86/io_apic.h     Sun Oct 24 13:15:48 2010 +0100
@@ -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);
 

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.