Hi!

just checked out the latest CVS version. Due to the changes with the cpu
affinity bitmask, ppc doesn't compile anymore.

The attached patch fixes it (it compiles, not tested)
It's copy paste from the i386 implementation.

regards - Marc
-- 
#!/bin/sh
set - `type $0` 'tr "[a-zA-Z]" "[n-za-mN-ZA-M]"';while [ "$2" != "" ];do \
shift;done; echo 'frq -a -rc '`echo "$0"| $1 `'>$UBZR/.`rpub signature|'`\
echo $1|$1`'`;rpub "Jr ner fvtangher bs obet. Erfvfgnapr vf shgvyr!"'|$1|sh
Index: include/nucleus/asm-ppc/system.h
===================================================================
RCS file: /cvs/rtai/fusion/include/nucleus/asm-ppc/system.h,v
retrieving revision 1.11
diff -u -p -r1.11 system.h
--- include/nucleus/asm-ppc/system.h    30 Aug 2004 12:07:22 -0000      1.11
+++ include/nucleus/asm-ppc/system.h    30 Aug 2004 14:44:16 -0000
@@ -338,13 +338,9 @@ static inline void xnarch_relay_tick (vo
     rthal_pend_linux_irq(__adeos_timer_virq);
 }
 
-static inline unsigned long xnarch_set_irq_affinity (unsigned irq,
-                                                    unsigned long affinity)
-{
-    cpumask_t m; /* Hmm... please, FIXME... */
-    m.bits[0] = affinity;
-    m = adeos_set_irq_affinity(irq,m);
-    return m.bits[0];
+static inline cpumask_t xnarch_set_irq_affinity (unsigned irq,
+                                                cpumask_t affinity) {
+    return adeos_set_irq_affinity(irq,affinity);
 }
 
 #endif /* XENO_INTR_MODULE */

Reply via email to