aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2013-01-08 18:47:36 -0500
committerEric Paris <eparis@redhat.com>2013-04-10 12:49:20 -0400
commit2540334adc1c7241a7f91a9cf7ec56776d3f601b (patch)
tree408310bd8a9e980a169b0644ffbe220b29faf39e /arch/powerpc
parentcdee3904b4ce7c03d1013ed6dd704b43ae7fc2e9 (diff)
powerpc: Remove static branch prediction in 64bit traced syscall path
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>
Diffstat (limited to 'arch/powerpc')
-rw-r--r--arch/powerpc/kernel/entry_64.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/entry_64.S b/arch/powerpc/kernel/entry_64.S
index 3d990d3bd8ba..c20d9bf4aa26 100644
--- a/arch/powerpc/kernel/entry_64.S
+++ b/arch/powerpc/kernel/entry_64.S
@@ -149,7 +149,7 @@ END_FW_FTR_SECTION_IFSET(FW_FEATURE_SPLPAR)
149 CURRENT_THREAD_INFO(r11, r1) 149 CURRENT_THREAD_INFO(r11, r1)
150 ld r10,TI_FLAGS(r11) 150 ld r10,TI_FLAGS(r11)
151 andi. r11,r10,_TIF_SYSCALL_T_OR_A 151 andi. r11,r10,_TIF_SYSCALL_T_OR_A
152 bne- syscall_dotrace 152 bne syscall_dotrace
153.Lsyscall_dotrace_cont: 153.Lsyscall_dotrace_cont:
154 cmpldi 0,r0,NR_syscalls 154 cmpldi 0,r0,NR_syscalls
155 bge- syscall_enosys 155 bge- syscall_enosys