2019-11-15 14:47:33

by Xianting Tian

[permalink] [raw]
Subject: [PATCH] sched/fair: Fix typo in function check_preempt_wakeup

Fix the typo "prempt" to "preempt"

Signed-off-by: Xianting Tian <[email protected]>
---
kernel/sched/fair.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c
index 682a754..9767eff 100644
--- a/kernel/sched/fair.c
+++ b/kernel/sched/fair.c
@@ -6667,7 +6667,7 @@ static void check_preempt_wakeup(struct rq *rq, struct task_struct *p, int wake_

/*
* This is possible from callers such as attach_tasks(), in which we
- * unconditionally check_prempt_curr() after an enqueue (which may have
+ * unconditionally check_preempt_curr() after an enqueue (which may have
* lead to a throttle). This both saves work and prevents false
* next-buddy nomination below.
*/
--
1.8.3.1