diff options
author | Chris Metcalf <cmetcalf@tilera.com> | 2010-06-07 08:48:13 -0400 |
---|---|---|
committer | Chris Metcalf <cmetcalf@tilera.com> | 2010-06-07 09:29:59 -0400 |
commit | 139ef32b0e6b88b00b5e3e74d052d938f178dc9b (patch) | |
tree | 0d3af3832ada74f2dae87de971bbd46fcbabf106 /arch/tile/kernel/signal.c | |
parent | cc44826a26b12b2489bc7dbb597fcdf107f2cc01 (diff) | |
download | linux-139ef32b0e6b88b00b5e3e74d052d938f178dc9b.tar.bz2 |
Revert adding some arch-specific signal syscalls to <linux/syscalls.h>.
It turns out there is some variance on the calling conventions for
these syscalls, and <asm-generic/syscalls.h> is already the mechanism
used to handle this. Switch arch/tile over to using that mechanism and
tweak the calling conventions for a couple of tile syscalls to match
<asm-generic/syscalls.h>.
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
Diffstat (limited to 'arch/tile/kernel/signal.c')
-rw-r--r-- | arch/tile/kernel/signal.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/tile/kernel/signal.c b/arch/tile/kernel/signal.c index 7ea85eb85242..45835cfad407 100644 --- a/arch/tile/kernel/signal.c +++ b/arch/tile/kernel/signal.c @@ -43,8 +43,8 @@ /* Caller before callee in this file; other callee is in assembler */ void do_signal(struct pt_regs *regs); -int _sys_sigaltstack(const stack_t __user *uss, - stack_t __user *uoss, struct pt_regs *regs) +long _sys_sigaltstack(const stack_t __user *uss, + stack_t __user *uoss, struct pt_regs *regs) { return do_sigaltstack(uss, uoss, regs->sp); } |