[PATCH] sched/fair: Fix a comment typo

From: li haoran
Date: Tue Mar 31 2020 - 04:28:11 EST


From: Li Haoran <lhr01130208@xxxxxxxxx>

Fix a comment typo in check_preempt_wakeup()

Signed-off-by: Li Haoran <lhr01130208@xxxxxxxxx>
---
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 d7fb20adabeb..7e9831831635 100644
--- a/kernel/sched/fair.c
+++ b/kernel/sched/fair.c
@@ -6870,7 +6870,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.
*/
--
2.17.2 (Apple Git-113)