Subject: [patch 3/7] powerpc 2.6.20-rt8: fix compile error (manage.c)

From: Tsutomu OWA <[email-masked]>
Date: Wed, 07 Mar 2007 10:16:55 +0900

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-masked]>
-- 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;
 }