summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorten Holst Larsen <m-larsen@post6.tele.dk>2011-01-23 13:40:47 +0100
committerMatt Turner <mattst88@gmail.com>2011-03-02 20:57:34 +0100
commit0c7a720bd1c9059fe7b869bc5feeba738d6ce799 (patch)
treef649bbda0279848e452136f847ee796fe2912660
parentLinux 2.6.38-rc7 (diff)
downloadlinux-0c7a720bd1c9059fe7b869bc5feeba738d6ce799.tar.xz
linux-0c7a720bd1c9059fe7b869bc5feeba738d6ce799.zip
Fix typo in call to irq_to_desc()
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>
-rw-r--r--arch/alpha/kernel/irq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/alpha/kernel/irq.c b/arch/alpha/kernel/irq.c
index 9ab234f48dd8..d3e20c7bbac3 100644
--- a/arch/alpha/kernel/irq.c
+++ b/arch/alpha/kernel/irq.c
@@ -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;