Skip to contentSkip to conversation

change fallocate to match unistd.h on powerpc

PATCH New Patrick Mansfield 1 participant 1 message Nov 3, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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

include/asm-powerpc/systbl.h +1 -1
index cc6d872..11d5383 100644
@@ -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