diff options
author | Mark Rutland <mark.rutland@arm.com> | 2018-07-11 14:56:53 +0100 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2018-07-12 14:49:48 +0100 |
commit | bf4ce5cc23c9f8357bfd9c0328bf59685664cbc7 (patch) | |
tree | b14a552809f81f3ed141f22cd6053a0d8152ae23 /arch/arm64/kernel/sys.c | |
parent | 3f7deccb037cc2bd2f848576439c033f81daeb6a (diff) |
arm64: use {COMPAT,}SYSCALL_DEFINE0 for sigreturn
We don't currently annotate our various sigreturn functions as syscalls,
as we need to do to use pt_regs syscall wrappers.
Let's mark them as real syscalls.
For compat_sys_sigreturn and compat_sys_rt_sigreturn, this changes the
return type from int to long, matching the prototypes in sys32.c.
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Reviewed-by: Dominik Brodowski <linux@dominikbrodowski.net>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/arm64/kernel/sys.c')
0 files changed, 0 insertions, 0 deletions