summaryrefslogtreecommitdiffstats
path: root/arch/s390/kernel/syscalls.S
diff options
context:
space:
mode:
authorAlexey Ishchuk2014-11-14 14:27:58 +0100
committerMartin Schwidefsky2014-11-19 09:46:43 +0100
commit4eafad7febd482092b331ea72c37274d745956be (patch)
tree81df1dd45ee04b56180da2214fae5a3bfe66ea2a /arch/s390/kernel/syscalls.S
parents390: fix ptrace of user area if the inferior uses vector registers (diff)
downloadkernel-qcow2-linux-4eafad7febd482092b331ea72c37274d745956be.tar.gz
kernel-qcow2-linux-4eafad7febd482092b331ea72c37274d745956be.tar.xz
kernel-qcow2-linux-4eafad7febd482092b331ea72c37274d745956be.zip
s390/kernel: add system calls for PCI memory access
Add the new __NR_s390_pci_mmio_write and __NR_s390_pci_mmio_read system calls to allow user space applications to access device PCI I/O memory pages on s390x platform. [ Martin Schwidefsky: some code beautification ] Signed-off-by: Alexey Ishchuk <aishchuk@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/kernel/syscalls.S')
-rw-r--r--arch/s390/kernel/syscalls.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/s390/kernel/syscalls.S b/arch/s390/kernel/syscalls.S
index 9f7087fd58de..a2987243bc76 100644
--- a/arch/s390/kernel/syscalls.S
+++ b/arch/s390/kernel/syscalls.S
@@ -360,3 +360,5 @@ SYSCALL(sys_seccomp,sys_seccomp,compat_sys_seccomp)
SYSCALL(sys_getrandom,sys_getrandom,compat_sys_getrandom)
SYSCALL(sys_memfd_create,sys_memfd_create,compat_sys_memfd_create) /* 350 */
SYSCALL(sys_bpf,sys_bpf,compat_sys_bpf)
+SYSCALL(sys_ni_syscall,sys_s390_pci_mmio_write,compat_sys_s390_pci_mmio_write)
+SYSCALL(sys_ni_syscall,sys_s390_pci_mmio_read,compat_sys_s390_pci_mmio_read)