powerpc: Fix a branch-too-far link error for 32-bit targets
authorPaul Mackerras <paulus@samba.org>
Wed, 19 Oct 2005 23:24:18 +0000 (09:24 +1000)
committerPaul Mackerras <paulus@samba.org>
Wed, 19 Oct 2005 23:24:18 +0000 (09:24 +1000)
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/entry_32.S

index 094eea6fbd69bab60f4c21660fc8090e155aaf8e..fc9dded9ac045d14522629efecda9d778914e52a 100644 (file)
@@ -633,7 +633,8 @@ sigreturn_exit:
        rlwinm  r12,r1,0,0,18   /* current_thread_info() */
        lwz     r9,TI_FLAGS(r12)
        andi.   r0,r9,_TIF_SYSCALL_T_OR_A
        rlwinm  r12,r1,0,0,18   /* current_thread_info() */
        lwz     r9,TI_FLAGS(r12)
        andi.   r0,r9,_TIF_SYSCALL_T_OR_A
-       bnel-   do_syscall_trace_leave
+       beq+    ret_from_except_full
+       bl      do_syscall_trace_leave
        /* fall through */
 
        .globl  ret_from_except_full
        /* fall through */
 
        .globl  ret_from_except_full