public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* [patch 14/23] ia64: xen: Use irq accessor functions
@ 2011-03-25 20:51 Thomas Gleixner
  0 siblings, 0 replies; only message in thread
From: Thomas Gleixner @ 2011-03-25 20:51 UTC (permalink / raw)
  To: linux-ia64

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
 arch/ia64/xen/irq_xen.c |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

Index: linux-2.6-tip/arch/ia64/xen/irq_xen.c
=================================--- linux-2.6-tip.orig/arch/ia64/xen/irq_xen.c
+++ linux-2.6-tip/arch/ia64/xen/irq_xen.c
@@ -138,7 +138,6 @@ static void
 __xen_register_percpu_irq(unsigned int cpu, unsigned int vec,
 			struct irqaction *action, int save)
 {
-	struct irq_desc *desc;
 	int irq = 0;
 
 	if (xen_slab_ready) {
@@ -223,8 +222,7 @@ __xen_register_percpu_irq(unsigned int c
 			 * mark the interrupt for migrations and trigger it
 			 * on cpu hotplug.
 			 */
-			desc = irq_desc + irq;
-			desc->status |= IRQ_PER_CPU;
+			irq_set_status_flags(irq, IRQ_PER_CPU);
 		}
 	}
 



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-03-25 20:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-25 20:51 [patch 14/23] ia64: xen: Use irq accessor functions Thomas Gleixner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox