From: Patrick Mansfield Date: Sat, 3 Nov 2007 17:42:03 +0000 (+1100) Subject: [POWERPC] Change fallocate to match unistd.h on powerpc X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=f2205fbb5a8933514fd343cc329df631802b4543;p=openwrt%2Fstaging%2Fblogic.git [POWERPC] Change fallocate to match unistd.h on powerpc 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 Acked-by: Anton Blanchard Signed-off-by: Paul Mackerras --- diff --git a/include/asm-powerpc/systbl.h b/include/asm-powerpc/systbl.h index cc6d87228258..11d5383b2f09 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)