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] Rename init_IRQ to xen_init_IRQ, so that non-x86 can use

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] Rename init_IRQ to xen_init_IRQ, so that non-x86 can use their own init_IRQ.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 18 May 2006 12:18:12 +0000
Delivery-date: Thu, 18 May 2006 05:19:34 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/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 kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID 5e1c99e5d194877664f4212d8522ca35870b4895
# Parent  25dbb18196335574e4f582fd5ddb941f41169110
Rename init_IRQ to xen_init_IRQ, so that non-x86 can use their own init_IRQ.
Signed-off-by Kevin Tian <Kevin.tian@xxxxxxxxx>
---
 linux-2.6-xen-sparse/drivers/xen/core/evtchn.c |   12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)

diff -r 25dbb1819633 -r 5e1c99e5d194 
linux-2.6-xen-sparse/drivers/xen/core/evtchn.c
--- a/linux-2.6-xen-sparse/drivers/xen/core/evtchn.c    Thu May 18 10:43:05 
2006 +0100
+++ b/linux-2.6-xen-sparse/drivers/xen/core/evtchn.c    Thu May 18 10:46:07 
2006 +0100
@@ -41,10 +41,10 @@
 #include <asm/system.h>
 #include <asm/ptrace.h>
 #include <asm/synch_bitops.h>
+#include <xen/evtchn.h>
 #include <xen/interface/event_channel.h>
 #include <xen/interface/physdev.h>
 #include <asm/hypervisor.h>
-#include <xen/evtchn.h>
 #include <linux/mc146818rtc.h> /* RTC_IRQ */
 
 /*
@@ -163,6 +163,12 @@ static inline unsigned int cpu_from_evtc
 /* Upcall to generic IRQ layer. */
 #ifdef CONFIG_X86
 extern fastcall unsigned int do_IRQ(struct pt_regs *regs);
+void __init xen_init_IRQ(void);
+void __init init_IRQ(void)
+{
+       irq_ctx_init(0);
+       xen_init_IRQ();
+}
 #if defined (__i386__)
 static inline void exit_idle(void) {}
 #define IRQ_REG orig_eax
@@ -804,12 +810,10 @@ void irq_resume(void)
        }
 }
 
-void __init init_IRQ(void)
+void __init xen_init_IRQ(void)
 {
        int i;
        int cpu;
-
-       irq_ctx_init(0);
 
        spin_lock_init(&irq_mapping_update_lock);
 

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Rename init_IRQ to xen_init_IRQ, so that non-x86 can use their own init_IRQ., Xen patchbot-unstable <=