[PATCH] change fallocate to match unistd.h on powerpc

Patrick Mansfield patmans at us.ibm.com
Sun Nov 4 04:42:03 EST 2007


Fix the fallocate system call on powerpc to match its unistd.h.

This implies none of these system calls are currently working with the
unistd.h sys call values:
	fallocate
	signalfd
	timerfd 
	eventfd 
	sync_file_range2

Signed-off-by: Patrick Mansfield <patmans at us.ibm.com>
Acked-by: Anton Blanchard <anton at samba.org>

diff --git a/include/asm-powerpc/systbl.h b/include/asm-powerpc/systbl.h
index cc6d872..11d5383 100644
--- a/include/asm-powerpc/systbl.h
+++ b/include/asm-powerpc/systbl.h
@@ -308,8 +308,8 @@ COMPAT_SYS_SPU(move_pages)
 SYSCALL_SPU(getcpu)
 COMPAT_SYS(epoll_pwait)
 COMPAT_SYS_SPU(utimensat)
-COMPAT_SYS(fallocate)
 COMPAT_SYS_SPU(signalfd)
 COMPAT_SYS_SPU(timerfd)
 SYSCALL_SPU(eventfd)
 COMPAT_SYS_SPU(sync_file_range2)
+COMPAT_SYS(fallocate)

-- Patrick Mansfield



More information about the Linuxppc-dev mailing list