[patch 3/7] powerpc 2.6.20-rt8: fix compile error (manage.c)
Tsutomu OWA
tsutomu.owa at toshiba.co.jp
Wed Mar 7 12:16:55 EST 2007
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 <tsutomu.owa at toshiba.co.jp>
-- 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;
}
More information about the Linuxppc-dev
mailing list