[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] Rename init_IRQ to xen_init_IRQ, so that non-x86 can use their own init_IRQ.
# 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
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |