diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2018-05-02 15:20:46 +0200 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2018-05-10 15:25:12 +0200 |
commit | 3691d6145585f52a6292c158e72bcde59df8e0a9 (patch) | |
tree | 64e4683db57036f7d49434c1f821ca822c734322 /arch/powerpc/kernel/pci_32.c | |
parent | powerpc/livepatch: Implement reliable stack tracing for the consistency model (diff) | |
download | linux-3691d6145585f52a6292c158e72bcde59df8e0a9.tar.xz linux-3691d6145585f52a6292c158e72bcde59df8e0a9.zip |
powerpc/syscalls: Switch trivial cases to SYSCALL_DEFINE
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/kernel/pci_32.c')
-rw-r--r-- | arch/powerpc/kernel/pci_32.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/powerpc/kernel/pci_32.c b/arch/powerpc/kernel/pci_32.c index 85ad2f78b889..af36e46c3ed6 100644 --- a/arch/powerpc/kernel/pci_32.c +++ b/arch/powerpc/kernel/pci_32.c @@ -16,6 +16,7 @@ #include <linux/of.h> #include <linux/slab.h> #include <linux/export.h> +#include <linux/syscalls.h> #include <asm/processor.h> #include <asm/io.h> @@ -283,7 +284,8 @@ pci_bus_to_hose(int bus) * Note that the returned IO or memory base is a physical address */ -long sys_pciconfig_iobase(long which, unsigned long bus, unsigned long devfn) +SYSCALL_DEFINE3(pciconfig_iobase, long, which, + unsigned long, bus, unsigned long, devfn) { struct pci_controller* hose; long result = -EOPNOTSUPP; @@ -307,5 +309,3 @@ long sys_pciconfig_iobase(long which, unsigned long bus, unsigned long devfn) return result; } - - |