[2/4] powerpc: Remove static branch prediction in 64bit traced syscall path

Message ID 20130109104736.063d143b@kryten
State Accepted, archived
Delegated to: Benjamin Herrenschmidt
Headers show

Commit Message

Anton Blanchard Jan. 8, 2013, 11:47 p.m.
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>


Index: b/arch/powerpc/kernel/entry_64.S
--- a/arch/powerpc/kernel/entry_64.S
+++ b/arch/powerpc/kernel/entry_64.S
 	ld	r10,TI_FLAGS(r11)
 	andi.	r11,r10,_TIF_SYSCALL_T_OR_A
-	bne-	syscall_dotrace
+	bne	syscall_dotrace
 	cmpldi	0,r0,NR_syscalls
 	bge-	syscall_enosys