Commit 7898b321 authored by David S. Miller's avatar David S. Miller

[SPARC]: Remove schedule_tail ifdefs.

parent 14751427
...@@ -1475,11 +1475,8 @@ linux_syscall_trace: ...@@ -1475,11 +1475,8 @@ linux_syscall_trace:
.globl C_LABEL(ret_from_fork) .globl C_LABEL(ret_from_fork)
C_LABEL(ret_from_fork): C_LABEL(ret_from_fork):
#if CONFIG_SMP || CONFIG_PREEMPT
/* XXX Wrong location: call schedule_tail in every ret_sys_call. */
call schedule_tail call schedule_tail
mov %g3, %o0 mov %g3, %o0
#endif
b C_LABEL(ret_sys_call) b C_LABEL(ret_sys_call)
ld [%sp + REGWIN_SZ + PT_I0], %o0 ld [%sp + REGWIN_SZ + PT_I0], %o0
......
...@@ -1619,10 +1619,8 @@ ret_from_syscall: ...@@ -1619,10 +1619,8 @@ ret_from_syscall:
*/ */
andn %o7, _TIF_NEWCHILD, %l0 andn %o7, _TIF_NEWCHILD, %l0
stx %l0, [%g6 + TI_FLAGS] stx %l0, [%g6 + TI_FLAGS]
#if CONFIG_SMP || CONFIG_PREEMPT
call schedule_tail call schedule_tail
mov %g5, %o0 mov %g5, %o0
#endif
andcc %l0, _TIF_PERFCTR, %g0 andcc %l0, _TIF_PERFCTR, %g0
be,pt %icc, 1f be,pt %icc, 1f
nop nop
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment