Loading arch/arc/kernel/entry.S +6 −6 Original line number Original line Diff line number Diff line Loading @@ -156,7 +156,7 @@ ARCFP_DATA int1_saved_reg int1_saved_reg: int1_saved_reg: .zero 4 .zero 4 /* Each Interrupt level needs it's own scratch */ /* Each Interrupt level needs its own scratch */ #ifdef CONFIG_ARC_COMPACT_IRQ_LEVELS #ifdef CONFIG_ARC_COMPACT_IRQ_LEVELS ARCFP_DATA int2_saved_reg ARCFP_DATA int2_saved_reg Loading Loading @@ -473,7 +473,7 @@ trap_with_param: lr r0, [efa] lr r0, [efa] mov r1, sp mov r1, sp ; Now that we have read EFA, its safe to do "fake" rtie ; Now that we have read EFA, it is safe to do "fake" rtie ; and get out of CPU exception mode ; and get out of CPU exception mode FAKE_RET_FROM_EXCPN r11 FAKE_RET_FROM_EXCPN r11 Loading Loading @@ -678,9 +678,9 @@ not_exception: brne r9, event_IRQ2, 149f brne r9, event_IRQ2, 149f ;------------------------------------------------------------------ ;------------------------------------------------------------------ ; if L2 IRQ interrupted a L1 ISR, we'd disbaled preemption earlier ; if L2 IRQ interrupted an L1 ISR, we'd disabled preemption earlier ; so that sched doesnt move to new task, causing L1 to be delayed ; so that sched doesn't move to new task, causing L1 to be delayed ; undeterministically. Now that we've achieved that, lets reset ; undeterministically. Now that we've achieved that, let's reset ; things to what they were, before returning from L2 context ; things to what they were, before returning from L2 context ;---------------------------------------------------------------- ;---------------------------------------------------------------- Loading Loading @@ -736,7 +736,7 @@ ENTRY(ret_from_fork) ; put last task in scheduler queue ; put last task in scheduler queue bl @schedule_tail bl @schedule_tail ; If kernel thread, jump to it's entry-point ; If kernel thread, jump to its entry-point ld r9, [sp, PT_status32] ld r9, [sp, PT_status32] brne r9, 0, 1f brne r9, 0, 1f Loading Loading
arch/arc/kernel/entry.S +6 −6 Original line number Original line Diff line number Diff line Loading @@ -156,7 +156,7 @@ ARCFP_DATA int1_saved_reg int1_saved_reg: int1_saved_reg: .zero 4 .zero 4 /* Each Interrupt level needs it's own scratch */ /* Each Interrupt level needs its own scratch */ #ifdef CONFIG_ARC_COMPACT_IRQ_LEVELS #ifdef CONFIG_ARC_COMPACT_IRQ_LEVELS ARCFP_DATA int2_saved_reg ARCFP_DATA int2_saved_reg Loading Loading @@ -473,7 +473,7 @@ trap_with_param: lr r0, [efa] lr r0, [efa] mov r1, sp mov r1, sp ; Now that we have read EFA, its safe to do "fake" rtie ; Now that we have read EFA, it is safe to do "fake" rtie ; and get out of CPU exception mode ; and get out of CPU exception mode FAKE_RET_FROM_EXCPN r11 FAKE_RET_FROM_EXCPN r11 Loading Loading @@ -678,9 +678,9 @@ not_exception: brne r9, event_IRQ2, 149f brne r9, event_IRQ2, 149f ;------------------------------------------------------------------ ;------------------------------------------------------------------ ; if L2 IRQ interrupted a L1 ISR, we'd disbaled preemption earlier ; if L2 IRQ interrupted an L1 ISR, we'd disabled preemption earlier ; so that sched doesnt move to new task, causing L1 to be delayed ; so that sched doesn't move to new task, causing L1 to be delayed ; undeterministically. Now that we've achieved that, lets reset ; undeterministically. Now that we've achieved that, let's reset ; things to what they were, before returning from L2 context ; things to what they were, before returning from L2 context ;---------------------------------------------------------------- ;---------------------------------------------------------------- Loading Loading @@ -736,7 +736,7 @@ ENTRY(ret_from_fork) ; put last task in scheduler queue ; put last task in scheduler queue bl @schedule_tail bl @schedule_tail ; If kernel thread, jump to it's entry-point ; If kernel thread, jump to its entry-point ld r9, [sp, PT_status32] ld r9, [sp, PT_status32] brne r9, 0, 1f brne r9, 0, 1f Loading