diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-09-27 14:51:20 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-10-17 01:03:52 +0200 |
commit | 32942bc7a609a874f462e1168dbeae20dbc6b79f (patch) | |
tree | 84262d846e541cc0235dfeb3c9aaef70cb5779b9 /arch/sparc | |
parent | sparc64: convert to generic execve (diff) | |
download | linux-32942bc7a609a874f462e1168dbeae20dbc6b79f.tar.xz linux-32942bc7a609a874f462e1168dbeae20dbc6b79f.zip |
sparc32: bury the remnants of LOWSYS tricks
Time to end that depravity, let's bury the body. It's been
15 years, for crying out loud...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/sparc')
-rw-r--r-- | arch/sparc/kernel/entry.S | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/arch/sparc/kernel/entry.S b/arch/sparc/kernel/entry.S index dcaa1cf0de40..dc089702e00a 100644 --- a/arch/sparc/kernel/entry.S +++ b/arch/sparc/kernel/entry.S @@ -959,17 +959,9 @@ flush_patch_four: .align 4 linux_sparc_ni_syscall: sethi %hi(sys_ni_syscall), %l7 - b syscall_is_too_hard + b do_syscall or %l7, %lo(sys_ni_syscall), %l7 -linux_fast_syscall: - andn %l7, 3, %l7 - mov %i0, %o0 - mov %i1, %o1 - mov %i2, %o2 - jmpl %l7 + %g0, %g0 - mov %i3, %o3 - linux_syscall_trace: add %sp, STACKFRAME_SZ, %o0 call syscall_trace @@ -1002,11 +994,8 @@ linux_sparc_syscall: bgeu linux_sparc_ni_syscall sll %g1, 2, %l4 ld [%l7 + %l4], %l7 - andcc %l7, 1, %g0 - bne linux_fast_syscall - /* Just do first insn from SAVE_ALL in the delay slot */ -syscall_is_too_hard: +do_syscall: SAVE_ALL_HEAD rd %wim, %l3 |