Skip to content

Commit 883c057

Browse files
Neil Zhangctmarinas
authored andcommitted
arm64: fix typo in entry.S
Commit 6468178 (arm64: let the core code deal with preempt_count) changed the code, but left the comments unchanged, fix it. Signed-off-by: Neil Zhang <zhangwm@marvell.com> Acked-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
1 parent 65c021b commit 883c057

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/arm64/kernel/entry.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ el1_irq:
316316

317317
#ifdef CONFIG_PREEMPT
318318
get_thread_info tsk
319-
ldr w24, [tsk, #TI_PREEMPT] // restore preempt count
319+
ldr w24, [tsk, #TI_PREEMPT] // get preempt count
320320
cbnz w24, 1f // preempt count != 0
321321
ldr x0, [tsk, #TI_FLAGS] // get flags
322322
tbz x0, #TIF_NEED_RESCHED, 1f // needs rescheduling?

0 commit comments

Comments
 (0)