+ s390-add-vmsplice-system-call.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled

     s390: add vmsplice system call

has been added to the -mm tree.  Its filename is

     s390-add-vmsplice-system-call.patch

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this


From: Martin Schwidefsky <schwidefsky@xxxxxxxxxx>

Add new vmsplice system call and add missing __NR_xxx defines for
sys_set_robust_list, sys_get_robust_list, sys_splice, sys_sync_file_range
and sys_tee.

Signed-off-by: Martin Schwidefsky <schwidefsky@xxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 arch/s390/kernel/compat_wrapper.S |    8 ++++++++
 arch/s390/kernel/syscalls.S       |    1 +
 include/asm-s390/unistd.h         |    8 +++++++-
 3 files changed, 16 insertions(+), 1 deletion(-)

diff -puN arch/s390/kernel/compat_wrapper.S~s390-add-vmsplice-system-call arch/s390/kernel/compat_wrapper.S
--- devel/arch/s390/kernel/compat_wrapper.S~s390-add-vmsplice-system-call	2006-05-04 07:53:29.000000000 -0700
+++ devel-akpm/arch/s390/kernel/compat_wrapper.S	2006-05-04 07:53:29.000000000 -0700
@@ -1650,3 +1650,11 @@ sys_tee_wrapper:
 	llgfr	%r4,%r4			# size_t
 	llgfr	%r5,%r5			# unsigned int
 	jg	sys_tee
+
+	.globl compat_sys_vmsplice_wrapper
+compat_sys_vmsplice_wrapper:
+	lgfr	%r2,%r2			# int
+	llgtr	%r3,%r3			# compat_iovec *
+	llgfr	%r4,%r4			# unsigned int
+	llgfr	%r5,%r5			# unsigned int
+	jg	compat_sys_vmsplice
diff -puN arch/s390/kernel/syscalls.S~s390-add-vmsplice-system-call arch/s390/kernel/syscalls.S
--- devel/arch/s390/kernel/syscalls.S~s390-add-vmsplice-system-call	2006-05-04 07:53:29.000000000 -0700
+++ devel-akpm/arch/s390/kernel/syscalls.S	2006-05-04 07:53:29.000000000 -0700
@@ -317,3 +317,4 @@ SYSCALL(sys_get_robust_list,sys_get_robu
 SYSCALL(sys_splice,sys_splice,sys_splice_wrapper)
 SYSCALL(sys_sync_file_range,sys_sync_file_range,sys_sync_file_range_wrapper)
 SYSCALL(sys_tee,sys_tee,sys_tee_wrapper)
+SYSCALL(sys_vmsplice,sys_vmsplice,compat_sys_vmsplice_wrapper)
diff -puN include/asm-s390/unistd.h~s390-add-vmsplice-system-call include/asm-s390/unistd.h
--- devel/include/asm-s390/unistd.h~s390-add-vmsplice-system-call	2006-05-04 07:53:29.000000000 -0700
+++ devel-akpm/include/asm-s390/unistd.h	2006-05-04 07:53:29.000000000 -0700
@@ -296,8 +296,14 @@
 #define __NR_pselect6		301
 #define __NR_ppoll		302
 #define __NR_unshare		303
+#define __NR_set_robust_list	304
+#define __NR_get_robust_list	305
+#define __NR_splice		306
+#define __NR_sync_file_range	307
+#define __NR_tee		308
+#define __NR_vmsplice		309
 
-#define NR_syscalls 304
+#define NR_syscalls 310
 
 /* 
  * There are some system calls that are not present on 64 bit, some
_

Patches currently in -mm which might be from schwidefsky@xxxxxxxxxx are

origin.patch
s390-add-vmsplice-system-call.patch
s390-hypervisor-file-system.patch
s390-hypervisor-file-system-fixes.patch
s390-statistics-infrastructure.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux