To fix the following compile error.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
kernel/irq/manage.c: In function 'irq_set_affinity':
kernel/irq/manage.c:81: error: invalid type argument of '->'
kernel/irq/manage.c:82: error: invalid type argument of '->'
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

Signed-off-by: Tsutomu Owa <[EMAIL PROTECTED]>
-- owa

diff -rup linux-rt8/kernel/irq/manage.c rt/kernel/irq/manage.c
--- linux-rt8/kernel/irq/manage.c       2007-02-20 14:30:41.000000000 +0900
+++ rt/kernel/irq/manage.c      2007-02-20 16:07:37.000000000 +0900
@@ -78,8 +78,8 @@ int irq_set_affinity(unsigned int irq, c
 #ifdef CONFIG_GENERIC_PENDING_IRQ
        set_pending_irq(irq, cpumask);
 #else
-       irq_desc[irq]->affinity = cpumask;
-       irq_desc[irq]->chip->set_affinity(irq, cpumask);
+       desc->affinity = cpumask;
+       desc->chip->set_affinity(irq, cpumask);
 #endif
        return 0;
 }


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to