aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/entry_64.S
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2012-04-04 14:23:27 -0400
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2012-04-30 01:34:43 -0400
commitd14299dec74a094b0f26b0893eccf8aefdfbd007 (patch)
treee8f2e03e82baf8fa1a7966ddf72933afda357838 /arch/powerpc/kernel/entry_64.S
parent76ef6a25ce2a1fbb9a51c553c93d2ad74f0f9185 (diff)
powerpc: Hide some system call labels from profile tools
syscall_dotrace_cont and syscall_error_cont tend to complicate perf output so make them local. Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/kernel/entry_64.S')
-rw-r--r--arch/powerpc/kernel/entry_64.S8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/powerpc/kernel/entry_64.S b/arch/powerpc/kernel/entry_64.S
index f8a7a1a1a9f..e212c2f57fd 100644
--- a/arch/powerpc/kernel/entry_64.S
+++ b/arch/powerpc/kernel/entry_64.S
@@ -154,7 +154,7 @@ END_FW_FTR_SECTION_IFSET(FW_FEATURE_SPLPAR)
154 ld r10,TI_FLAGS(r11) 154 ld r10,TI_FLAGS(r11)
155 andi. r11,r10,_TIF_SYSCALL_T_OR_A 155 andi. r11,r10,_TIF_SYSCALL_T_OR_A
156 bne- syscall_dotrace 156 bne- syscall_dotrace
157syscall_dotrace_cont: 157.Lsyscall_dotrace_cont:
158 cmpldi 0,r0,NR_syscalls 158 cmpldi 0,r0,NR_syscalls
159 bge- syscall_enosys 159 bge- syscall_enosys
160 160
@@ -211,7 +211,7 @@ syscall_exit:
211 cmpld r3,r11 211 cmpld r3,r11
212 ld r5,_CCR(r1) 212 ld r5,_CCR(r1)
213 bge- syscall_error 213 bge- syscall_error
214syscall_error_cont: 214.Lsyscall_error_cont:
215 ld r7,_NIP(r1) 215 ld r7,_NIP(r1)
216BEGIN_FTR_SECTION 216BEGIN_FTR_SECTION
217 stdcx. r0,0,r1 /* to clear the reservation */ 217 stdcx. r0,0,r1 /* to clear the reservation */
@@ -246,7 +246,7 @@ syscall_error:
246 oris r5,r5,0x1000 /* Set SO bit in CR */ 246 oris r5,r5,0x1000 /* Set SO bit in CR */
247 neg r3,r3 247 neg r3,r3
248 std r5,_CCR(r1) 248 std r5,_CCR(r1)
249 b syscall_error_cont 249 b .Lsyscall_error_cont
250 250
251/* Traced system call support */ 251/* Traced system call support */
252syscall_dotrace: 252syscall_dotrace:
@@ -268,7 +268,7 @@ syscall_dotrace:
268 addi r9,r1,STACK_FRAME_OVERHEAD 268 addi r9,r1,STACK_FRAME_OVERHEAD
269 clrrdi r10,r1,THREAD_SHIFT 269 clrrdi r10,r1,THREAD_SHIFT
270 ld r10,TI_FLAGS(r10) 270 ld r10,TI_FLAGS(r10)
271 b syscall_dotrace_cont 271 b .Lsyscall_dotrace_cont
272 272
273syscall_enosys: 273syscall_enosys:
274 li r3,-ENOSYS 274 li r3,-ENOSYS