Fix typo in call to irq_to_desc()
authorMorten Holst Larsen <m-larsen@post6.tele.dk>
Sun, 23 Jan 2011 12:40:47 +0000 (13:40 +0100)
committerMatt Turner <mattst88@gmail.com>
Wed, 2 Mar 2011 19:57:34 +0000 (14:57 -0500)
Fix typo in call to irq_to_desc()

Signed-off-by: Morten H. Larsen <m-larsen@post6.tele.dk>
Signed-off-by: Matt Turner <mattst88@gmail.com>
arch/alpha/kernel/irq.c

index 9ab234f48dd899c2ad0f9c9a34ecbc5bc8ef449b..d3e20c7bbac32920909e80598ad4d258ebda9e53 100644 (file)
@@ -44,7 +44,7 @@ static char irq_user_affinity[NR_IRQS];
 
 int irq_select_affinity(unsigned int irq)
 {
-       struct irq_desc *desc = irq_to_desc[irq];
+       struct irq_desc *desc = irq_to_desc(irq);
        static int last_cpu;
        int cpu = last_cpu + 1;