diff options
author | Alexey Ishchuk <aishchuk@linux.vnet.ibm.com> | 2014-11-14 08:27:58 -0500 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2014-11-19 03:46:43 -0500 |
commit | 4eafad7febd482092b331ea72c37274d745956be (patch) | |
tree | 81df1dd45ee04b56180da2214fae5a3bfe66ea2a /kernel/sys_ni.c | |
parent | 86c558e8d3b774580faf8250092388d52cfde63e (diff) |
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 'kernel/sys_ni.c')
-rw-r--r-- | kernel/sys_ni.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/sys_ni.c b/kernel/sys_ni.c index 02aa4185b17e..61eea02b53f5 100644 --- a/kernel/sys_ni.c +++ b/kernel/sys_ni.c | |||
@@ -169,6 +169,8 @@ cond_syscall(ppc_rtas); | |||
169 | cond_syscall(sys_spu_run); | 169 | cond_syscall(sys_spu_run); |
170 | cond_syscall(sys_spu_create); | 170 | cond_syscall(sys_spu_create); |
171 | cond_syscall(sys_subpage_prot); | 171 | cond_syscall(sys_subpage_prot); |
172 | cond_syscall(sys_s390_pci_mmio_read); | ||
173 | cond_syscall(sys_s390_pci_mmio_write); | ||
172 | 174 | ||
173 | /* mmu depending weak syscall entries */ | 175 | /* mmu depending weak syscall entries */ |
174 | cond_syscall(sys_mprotect); | 176 | cond_syscall(sys_mprotect); |