From: Jan-Benedict G. <jb...@us...> - 2006-01-27 20:18:27
|
Update of /cvsroot/linux-vax/toolchain/patches In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16974 Added Files: linux-000002-sendfile64.patch Log Message: - We don't have __NR_sendfile64 yet. - This needs to be done for out GIT tree, too. --- NEW FILE: linux-000002-sendfile64.patch --- diff -Nurp src-linux-fresh/arch/vax/kernel/syscall.c src-linux-hacked/arch/vax/kernel/syscall.c --- src-linux-fresh/arch/vax/kernel/syscall.c 2005-10-31 15:10:21.000000000 +0100 +++ src-linux-hacked/arch/vax/kernel/syscall.c 2006-01-27 07:57:09.000000000 +0100 @@ -264,6 +264,7 @@ static struct { SC (__NR_tkill, sys_tkill, 3), SC (__NR_statfs64, sys_statfs64, 2), SC (__NR_fstatfs64, sys_fstatfs64, 2), + SC (__NR_sendfile64, sys_sendfile64, 4), #undef SC }; diff -Nurp src-linux-fresh/include/asm-vax/unistd.h src-linux-hacked/include/asm-vax/unistd.h --- src-linux-fresh/include/asm-vax/unistd.h 2005-11-30 15:26:37.000000000 +0100 +++ src-linux-hacked/include/asm-vax/unistd.h 2006-01-27 07:56:15.000000000 +0100 @@ -247,8 +247,9 @@ #define __NR_statfs64 223 #define __NR_fstatfs64 224 #define __NR_vserver 225 +#define __NR_sendfile64 226 -#define __NR_last_syscall 225 /* Number of last syscall */ +#define __NR_last_syscall 226 /* Number of last syscall */ |