Explorar o código

arm64: fix typo in entry.S

Commit 64681787 (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>
Neil Zhang %!s(int64=12) %!d(string=hai) anos
pai
achega
883c057367
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      arch/arm64/kernel/entry.S

+ 1 - 1
arch/arm64/kernel/entry.S

@@ -316,7 +316,7 @@ el1_irq:
 
 
 #ifdef CONFIG_PREEMPT
 #ifdef CONFIG_PREEMPT
 	get_thread_info tsk
 	get_thread_info tsk
-	ldr	w24, [tsk, #TI_PREEMPT]		// restore preempt count
+	ldr	w24, [tsk, #TI_PREEMPT]		// get preempt count
 	cbnz	w24, 1f				// preempt count != 0
 	cbnz	w24, 1f				// preempt count != 0
 	ldr	x0, [tsk, #TI_FLAGS]		// get flags
 	ldr	x0, [tsk, #TI_FLAGS]		// get flags
 	tbz	x0, #TIF_NEED_RESCHED, 1f	// needs rescheduling?
 	tbz	x0, #TIF_NEED_RESCHED, 1f	// needs rescheduling?