diff options
| -rw-r--r-- | arch/riscv/kernel/entry.S | 3 | 
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/riscv/kernel/entry.S b/arch/riscv/kernel/entry.S index 2d592da1e776..8ca479831142 100644 --- a/arch/riscv/kernel/entry.S +++ b/arch/riscv/kernel/entry.S @@ -273,12 +273,11 @@ restore_all:  resume_kernel:  	REG_L s0, TASK_TI_PREEMPT_COUNT(tp)  	bnez s0, restore_all -need_resched:  	REG_L s0, TASK_TI_FLAGS(tp)  	andi s0, s0, _TIF_NEED_RESCHED  	beqz s0, restore_all  	call preempt_schedule_irq -	j need_resched +	j restore_all  #endif  work_pending:  | 
