diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2018-05-02 23:20:48 +1000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2018-05-10 23:25:14 +1000 |
commit | 4c392e6591e3257ebd08210e1ac0a175eefd0168 (patch) | |
tree | 8102bd7afd73c883a4b9c2bebb25621f5664b87c /arch/powerpc/kernel/rtas.c | |
parent | f3675644e172301e88354dc7bfca96c124301145 (diff) | |
download | linux-4c392e6591e3257ebd08210e1ac0a175eefd0168.tar.gz linux-4c392e6591e3257ebd08210e1ac0a175eefd0168.tar.bz2 linux-4c392e6591e3257ebd08210e1ac0a175eefd0168.zip |
powerpc/syscalls: switch rtas(2) to SYSCALL_DEFINE
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
[mpe: Update sys_ni.c for s/ppc_rtas/sys_rtas/]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/kernel/rtas.c')
-rw-r--r-- | arch/powerpc/kernel/rtas.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/rtas.c b/arch/powerpc/kernel/rtas.c index 3f1c4fcbe0aa..8afd146bc9c7 100644 --- a/arch/powerpc/kernel/rtas.c +++ b/arch/powerpc/kernel/rtas.c @@ -26,6 +26,7 @@ #include <linux/memblock.h> #include <linux/slab.h> #include <linux/reboot.h> +#include <linux/syscalls.h> #include <asm/prom.h> #include <asm/rtas.h> @@ -1050,7 +1051,7 @@ struct pseries_errorlog *get_pseries_errorlog(struct rtas_error_log *log, } /* We assume to be passed big endian arguments */ -asmlinkage int ppc_rtas(struct rtas_args __user *uargs) +SYSCALL_DEFINE1(rtas, struct rtas_args __user *, uargs) { struct rtas_args args; unsigned long flags; |