Hi,
CVS fusion doesn't compile on ppc, because of a recent change in posix/syscall.c; __xn_range_ok can't take pointer args, but a sem_t * gets passed to it. Here's a quick fix for that.

-- Heikki Lindholm
diff -Nru cvs-versions/fusion/include/nucleus/asm-ppc/syscall.h 
fusion-cvs-work/include/nucleus/asm-ppc/syscall.h
--- cvs-versions/fusion/include/nucleus/asm-ppc/syscall.h       2005-08-31 
11:38:54.000000000 +0300
+++ fusion-cvs-work/include/nucleus/asm-ppc/syscall.h   2005-08-31 
12:54:07.942627944 +0300
@@ -128,8 +128,8 @@
 #define __xn_strncpy_from_user(task,dstP,srcP,n)    
__strncpy_from_user(dstP,srcP,n)
 
 #define __xn_range_ok(task,addr,size) \
-        ((addr) <= (task)->thread.fs.seg \
-        && ((size) == 0 || (size) - 1 <= (task)->thread.fs.seg - (addr)))
+        ((unsigned long)(addr) <= (task)->thread.fs.seg \
+        && ((size) == 0 || (size) - 1 <= (task)->thread.fs.seg - (unsigned 
long)(addr)))
 
 #define __xn_access_ok(task,type,addr,size)  __xn_range_ok(task,(unsigned 
long)addr,size)
 

Reply via email to