powerpc: Remove static branch prediction in 64bit traced syscall path
authorAnton Blanchard <anton@samba.org>
Tue, 8 Jan 2013 23:47:36 +0000 (10:47 +1100)
committerEric Paris <eparis@redhat.com>
Wed, 10 Apr 2013 16:49:20 +0000 (12:49 -0400)
Some distros enable auditing by default which forces us through the
syscall trace path. Remove the static branch prediction in our 64bit
syscall handler and let the hardware do the prediction.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Eric Paris <eparis@redhat.com>
arch/powerpc/kernel/entry_64.S

index 3d990d3bd8baf5923d019208f7782d42e7f8a458..c20d9bf4aa26504276f7ded80a31e4b11156e4c7 100644 (file)
@@ -149,7 +149,7 @@ END_FW_FTR_SECTION_IFSET(FW_FEATURE_SPLPAR)
        CURRENT_THREAD_INFO(r11, r1)
        ld      r10,TI_FLAGS(r11)
        andi.   r11,r10,_TIF_SYSCALL_T_OR_A
-       bne-    syscall_dotrace
+       bne     syscall_dotrace
 .Lsyscall_dotrace_cont:
        cmpldi  0,r0,NR_syscalls
        bge-    syscall_enosys