debuggers.hg

view xen/arch/ia64/patch/linux-2.6.11/hpsim_irq.c @ 4619:5b9e241131fb

bitkeeper revision 1.1329 (42661815u5WPq8d5f4_axi2xWheybA)

Merge firebug.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk
into firebug.cl.cam.ac.uk:/local/scratch/kaf24/xeno-unstable-ia64.bk
author kaf24@firebug.cl.cam.ac.uk
date Wed Apr 20 08:51:33 2005 +0000 (2005-04-20)
parents 58efb3448933
children
line source
1 hpsim_irq.c | 15 +++++++++++++++
2 1 files changed, 15 insertions(+)
4 Index: linux-2.6.11/arch/ia64/hp/sim/hpsim_irq.c
5 ===================================================================
6 --- linux-2.6.11.orig/arch/ia64/hp/sim/hpsim_irq.c 2005-03-02 01:38:33.000000000 -0600
7 +++ linux-2.6.11/arch/ia64/hp/sim/hpsim_irq.c 2005-03-19 13:33:57.312014806 -0600
8 @@ -9,7 +9,17 @@
9 #include <linux/kernel.h>
10 #include <linux/sched.h>
11 #include <linux/irq.h>
12 +#ifdef XEN
13 +#include <asm/hw_irq.h>
14 +#endif
16 +#if 1
17 +void __init
18 +hpsim_irq_init (void)
19 +{
20 + printf("*** hpsim_irq_init called: NOT NEEDED?!?!?\n");
21 +}
22 +#else
23 static unsigned int
24 hpsim_irq_startup (unsigned int irq)
25 {
26 @@ -19,6 +29,10 @@ hpsim_irq_startup (unsigned int irq)
27 static void
28 hpsim_irq_noop (unsigned int irq)
29 {
30 +#if 1
31 +printf("hpsim_irq_noop: irq=%d\n",irq);
32 +while(irq);
33 +#endif
34 }
36 static void
37 @@ -49,3 +63,4 @@ hpsim_irq_init (void)
38 idesc->handler = &irq_type_hp_sim;
39 }
40 }
41 +#endif