[patch 15/73] POWERPC: Change fallocate to match unistd.h on powerpc

Greg KH
2008-02-07T00:01:30Z

[-- Attachment #1: powerpc-change-fallocate-to-match-unistd.h-on-powerpc.patch --]
[-- Type: text/plain, Size: 1064 bytes --]

2.6.23-stable review patch. If anyone has any objections, please let us know.
------------------
From: Patrick Mansfield <patmans@us.ibm.com>

patch f2205fbb5a8933514fd343cc329df631802b4543 in mainline.

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@us.ibm.com>
Acked-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

---
include/asm-powerpc/systbl.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- 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)

--