summaryrefslogtreecommitdiffstats
path: root/arch/s390/include
diff options
context:
space:
mode:
authorAlexey Ishchuk <aishchuk@linux.vnet.ibm.com>2014-11-14 14:27:58 +0100
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2014-11-19 09:46:43 +0100
commit4eafad7febd482092b331ea72c37274d745956be (patch)
tree81df1dd45ee04b56180da2214fae5a3bfe66ea2a /arch/s390/include
parent86c558e8d3b774580faf8250092388d52cfde63e (diff)
downloadop-kernel-dev-4eafad7febd482092b331ea72c37274d745956be.zip
op-kernel-dev-4eafad7febd482092b331ea72c37274d745956be.tar.gz
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/include')
-rw-r--r--arch/s390/include/uapi/asm/unistd.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/s390/include/uapi/asm/unistd.h b/arch/s390/include/uapi/asm/unistd.h
index 4197c89..2b446cf 100644
--- a/arch/s390/include/uapi/asm/unistd.h
+++ b/arch/s390/include/uapi/asm/unistd.h
@@ -287,7 +287,9 @@
#define __NR_getrandom 349
#define __NR_memfd_create 350
#define __NR_bpf 351
-#define NR_syscalls 352
+#define __NR_s390_pci_mmio_write 352
+#define __NR_s390_pci_mmio_read 353
+#define NR_syscalls 354
/*
* There are some system calls that are not present on 64 bit, some
OpenPOWER on IntegriCloud