X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;ds=sidebyside;f=drivers%2Fxen%2Fevents.c;h=912ac81b6dbff5e2b9f48c2b2662083bf00ce476;hb=a5f9337bdc45bb8c13037bdb70d16fd9017bb83a;hp=59e10a1286d53ff73aa3e0a6c91a5aed9033de9e;hpb=9d55ab71b735621a63c8923ba934d87879847cef;p=~andy%2Flinux diff --git a/drivers/xen/events.c b/drivers/xen/events.c index 59e10a1286d..912ac81b6db 100644 --- a/drivers/xen/events.c +++ b/drivers/xen/events.c @@ -115,7 +115,9 @@ struct irq_info { #define PIRQ_SHAREABLE (1 << 1) static int *evtchn_to_irq; +#ifdef CONFIG_X86 static unsigned long *pirq_eoi_map; +#endif static bool (*pirq_needs_eoi)(unsigned irq); static DEFINE_PER_CPU(unsigned long [NR_EVENT_CHANNELS/BITS_PER_LONG], @@ -277,10 +279,12 @@ static unsigned int cpu_from_evtchn(unsigned int evtchn) return ret; } +#ifdef CONFIG_X86 static bool pirq_check_eoi_map(unsigned irq) { return test_bit(pirq_from_irq(irq), pirq_eoi_map); } +#endif static bool pirq_needs_eoi_flag(unsigned irq) {