diff options
Diffstat (limited to 'arch/powerpc')
-rw-r--r-- | arch/powerpc/kernel/entry_64.S | 8 |
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 |
157 | syscall_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 |
214 | syscall_error_cont: | 214 | .Lsyscall_error_cont: |
215 | ld r7,_NIP(r1) | 215 | ld r7,_NIP(r1) |
216 | BEGIN_FTR_SECTION | 216 | BEGIN_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 */ |
252 | syscall_dotrace: | 252 | syscall_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 | ||
273 | syscall_enosys: | 273 | syscall_enosys: |
274 | li r3,-ENOSYS | 274 | li r3,-ENOSYS |