WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-4.0-testing] x86: delete not really used ioapic_ren

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-4.0-testing] x86: delete not really used ioapic_renumber_irq variable
From: "Xen patchbot-4.0-testing" <patchbot-4.0-testing@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 25 Oct 2010 07:10:17 -0700
Delivery-date: Mon, 25 Oct 2010 07:11:16 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir@xxxxxxx>
# Date 1287923265 -3600
# Node ID 5f3f3cb13f477a77332c2cd62a33c41d4abe7362
# Parent  a260152da5d00866ef14f465ad439bcdc803e6cc
x86: delete not really used ioapic_renumber_irq variable

Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>
xen-unstable changeset:   22281:2f87a77dc7b9
xen-unstable date:        Sun Oct 24 13:15:48 2010 +0100
---
 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 a260152da5d0 -r 5f3f3cb13f47 xen/arch/x86/io_apic.c
--- a/xen/arch/x86/io_apic.c    Sun Oct 24 13:26:45 2010 +0100
+++ b/xen/arch/x86/io_apic.c    Sun Oct 24 13:27:45 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 a260152da5d0 -r 5f3f3cb13f47 xen/arch/x86/mpparse.c
--- a/xen/arch/x86/mpparse.c    Sun Oct 24 13:26:45 2010 +0100
+++ b/xen/arch/x86/mpparse.c    Sun Oct 24 13:27:45 2010 +0100
@@ -1123,9 +1123,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);
-
        if (!(irq_to_desc(gsi)->status & IRQ_DISABLED))
                return -EEXIST;
 
diff -r a260152da5d0 -r 5f3f3cb13f47 xen/include/asm-x86/io_apic.h
--- a/xen/include/asm-x86/io_apic.h     Sun Oct 24 13:26:45 2010 +0100
+++ b/xen/include/asm-x86/io_apic.h     Sun Oct 24 13:27:45 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-4.0-testing] x86: delete not really used ioapic_renumber_irq variable, Xen patchbot-4.0-testing <=