Skip to contentSkip to conversation

Fix typo in call to irq_to_desc()

PATCH In review Morten Holst Larsen 2 participants 2 messages Jan 23, 2011 Alpha port

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix typo in call to irq_to_desc()

Fix typo in call to irq_to_desc()

arch/alpha/kernel/irq.c +0 -0
index 9ab234f..d3e20c7 100644
@@ -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;

--
1.7.1

maintainer
#1 lore raw
Quoted 18 lines · Morten Holst Larsen

Fix typo in call to irq_to_desc()

arch/alpha/kernel/irq.c +1 -2
index 9ab234f..d3e20c7 100644
@@ -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;
 
--
Quoted 1 line

1.7.1

Thanks! I'll apply this.

Matt
--
To unsubscribe from this list: send the line "unsubscribe linux-alpha" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html