diff options
Diffstat (limited to 'arch/c6x/kernel/entry.S')
-rw-r--r-- | arch/c6x/kernel/entry.S | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/c6x/kernel/entry.S b/arch/c6x/kernel/entry.S index 1037b98953ca..5239057de4c4 100644 --- a/arch/c6x/kernel/entry.S +++ b/arch/c6x/kernel/entry.S | |||
@@ -277,6 +277,8 @@ work_rescheduled: | |||
277 | [A1] BNOP .S1 work_resched,5 | 277 | [A1] BNOP .S1 work_resched,5 |
278 | 278 | ||
279 | work_notifysig: | 279 | work_notifysig: |
280 | ;; enable interrupts for do_notify_resume() | ||
281 | UNMASK_INT B2 | ||
280 | B .S2 do_notify_resume | 282 | B .S2 do_notify_resume |
281 | LDW .D2T1 *+SP(REGS__END+8),A6 ; syscall flag | 283 | LDW .D2T1 *+SP(REGS__END+8),A6 ; syscall flag |
282 | ADDKPC .S2 resume_userspace,B3,1 | 284 | ADDKPC .S2 resume_userspace,B3,1 |
@@ -417,8 +419,7 @@ ENTRY(ret_from_kernel_thread) | |||
417 | ENDPROC(ret_from_kernel_thread) | 419 | ENDPROC(ret_from_kernel_thread) |
418 | 420 | ||
419 | ;; | 421 | ;; |
420 | ;; These are the interrupt handlers, responsible for calling __do_IRQ() | 422 | ;; These are the interrupt handlers, responsible for calling c6x_do_IRQ() |
421 | ;; int6 is used for syscalls (see _system_call entry) | ||
422 | ;; | 423 | ;; |
423 | .macro SAVE_ALL_INT | 424 | .macro SAVE_ALL_INT |
424 | SAVE_ALL IRP,ITSR | 425 | SAVE_ALL IRP,ITSR |