alpha: fix compile error from IRQ clean up
authorMatt Turner <mattst88@gmail.com>
Wed, 9 Mar 2011 16:15:13 +0000 (11:15 -0500)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 9 Mar 2011 22:03:00 +0000 (14:03 -0800)
Signed-off-by: Matt Turner <mattst88@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/alpha/kernel/sys_titan.c

index f6c108a3d6730ee3125e8c0c682bd6cb9b48ba48..8c13a0c77830c576a2f9030fedb3b44951f654de 100644 (file)
@@ -149,6 +149,7 @@ static int
 titan_set_irq_affinity(struct irq_data *d, const struct cpumask *affinity,
                       bool force)
 { 
+       unsigned int irq = d->irq;
        spin_lock(&titan_irq_lock);
        titan_cpu_set_irq_affinity(irq - 16, *affinity);
        titan_update_irq_hw(titan_cached_irq_mask);