* [PATCH] ARM: add copy_file_range system call
@ 2016-01-22 13:47 ` Arnd Bergmann
0 siblings, 0 replies; 4+ messages in thread
From: Arnd Bergmann @ 2016-01-22 13:47 UTC (permalink / raw)
To: linux-arm-kernel; +Cc: linux-kernel, Russell King
The copy_file_range system call was added in linux-4.5 needs to
be added to the system call tables on all architectures.
This is the change for arch/arm.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
diff --git a/arch/arm/include/uapi/asm/unistd.h b/arch/arm/include/uapi/asm/unistd.h
index ede692ffa32e..5dd2528e9e45 100644
--- a/arch/arm/include/uapi/asm/unistd.h
+++ b/arch/arm/include/uapi/asm/unistd.h
@@ -417,6 +417,7 @@
#define __NR_userfaultfd (__NR_SYSCALL_BASE+388)
#define __NR_membarrier (__NR_SYSCALL_BASE+389)
#define __NR_mlock2 (__NR_SYSCALL_BASE+390)
+#define __NR_copy_file_range (__NR_SYSCALL_BASE+391)
/*
* The following SWIs are ARM private.
diff --git a/arch/arm/kernel/calls.S b/arch/arm/kernel/calls.S
index ac368bb068d1..8ff325ae6d0e 100644
--- a/arch/arm/kernel/calls.S
+++ b/arch/arm/kernel/calls.S
@@ -399,7 +399,8 @@
CALL(sys_execveat)
CALL(sys_userfaultfd)
CALL(sys_membarrier)
- CALL(sys_mlock2)
+/* 390 */ CALL(sys_mlock2)
+ CALL(sys_copy_file_range)
#ifndef syscalls_counted
.equ syscalls_padding, ((NR_syscalls + 3) & ~3) - NR_syscalls
#define syscalls_counted
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH] ARM: add copy_file_range system call
@ 2016-01-22 13:47 ` Arnd Bergmann
0 siblings, 0 replies; 4+ messages in thread
From: Arnd Bergmann @ 2016-01-22 13:47 UTC (permalink / raw)
To: linux-arm-kernel
The copy_file_range system call was added in linux-4.5 needs to
be added to the system call tables on all architectures.
This is the change for arch/arm.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
diff --git a/arch/arm/include/uapi/asm/unistd.h b/arch/arm/include/uapi/asm/unistd.h
index ede692ffa32e..5dd2528e9e45 100644
--- a/arch/arm/include/uapi/asm/unistd.h
+++ b/arch/arm/include/uapi/asm/unistd.h
@@ -417,6 +417,7 @@
#define __NR_userfaultfd (__NR_SYSCALL_BASE+388)
#define __NR_membarrier (__NR_SYSCALL_BASE+389)
#define __NR_mlock2 (__NR_SYSCALL_BASE+390)
+#define __NR_copy_file_range (__NR_SYSCALL_BASE+391)
/*
* The following SWIs are ARM private.
diff --git a/arch/arm/kernel/calls.S b/arch/arm/kernel/calls.S
index ac368bb068d1..8ff325ae6d0e 100644
--- a/arch/arm/kernel/calls.S
+++ b/arch/arm/kernel/calls.S
@@ -399,7 +399,8 @@
CALL(sys_execveat)
CALL(sys_userfaultfd)
CALL(sys_membarrier)
- CALL(sys_mlock2)
+/* 390 */ CALL(sys_mlock2)
+ CALL(sys_copy_file_range)
#ifndef syscalls_counted
.equ syscalls_padding, ((NR_syscalls + 3) & ~3) - NR_syscalls
#define syscalls_counted
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] ARM: add copy_file_range system call
2016-01-22 13:47 ` Arnd Bergmann
@ 2016-01-22 13:55 ` Russell King - ARM Linux
-1 siblings, 0 replies; 4+ messages in thread
From: Russell King - ARM Linux @ 2016-01-22 13:55 UTC (permalink / raw)
To: Arnd Bergmann; +Cc: linux-arm-kernel, linux-kernel
On Fri, Jan 22, 2016 at 02:47:36PM +0100, Arnd Bergmann wrote:
> The copy_file_range system call was added in linux-4.5 needs to
> be added to the system call tables on all architectures.
>
> This is the change for arch/arm.
>
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Thanks, but as ever I much prefer to update the syscall table myself
after -rc1.
--
RMK's Patch system: http://www.arm.linux.org.uk/developer/patches/
FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up
according to speedtest.net.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH] ARM: add copy_file_range system call
@ 2016-01-22 13:55 ` Russell King - ARM Linux
0 siblings, 0 replies; 4+ messages in thread
From: Russell King - ARM Linux @ 2016-01-22 13:55 UTC (permalink / raw)
To: linux-arm-kernel
On Fri, Jan 22, 2016 at 02:47:36PM +0100, Arnd Bergmann wrote:
> The copy_file_range system call was added in linux-4.5 needs to
> be added to the system call tables on all architectures.
>
> This is the change for arch/arm.
>
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Thanks, but as ever I much prefer to update the syscall table myself
after -rc1.
--
RMK's Patch system: http://www.arm.linux.org.uk/developer/patches/
FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up
according to speedtest.net.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2016-01-22 13:55 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-22 13:47 [PATCH] ARM: add copy_file_range system call Arnd Bergmann
2016-01-22 13:47 ` Arnd Bergmann
2016-01-22 13:55 ` Russell King - ARM Linux
2016-01-22 13:55 ` Russell King - ARM Linux
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.