]> git.karo-electronics.de Git - linux-beck.git/commit
sparc64: clear syscall_noerror on the entry to syscall, not on the exit
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 26 Sep 2012 05:21:14 +0000 (01:21 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Sun, 14 Oct 2012 23:26:52 +0000 (19:26 -0400)
commitdff933da765fd4855393846fa55286d1ff2d024a
treebfc8a36dd282a1077fbee9e4f1d67fe405a6e066
parentddffeb8c4d0331609ef2581d84de4d763607bd37
sparc64: clear syscall_noerror on the entry to syscall, not on the exit

Move that sucker to just before TI_FPDEPTH and replace stb with sth in
etrap_save().  Take current_ds to its old place, so that we don't push
wsaved into TI_... flags.  That allows to lose clearing syscall_noerror
on return from syscall.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
arch/sparc/include/asm/ptrace.h
arch/sparc/include/asm/switch_to_64.h
arch/sparc/include/asm/thread_info_64.h
arch/sparc/include/asm/uaccess_64.h
arch/sparc/kernel/etrap_64.S
arch/sparc/kernel/process_64.c
arch/sparc/kernel/syscalls.S
arch/sparc/kernel/traps_64.c
arch/sparc/mm/init_64.c