aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian La Roche <florian.laroche@googlemail.com>2018-05-06 13:34:07 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2018-05-07 11:41:46 -0400
commitf142f08bf7ecc41c3e71e05b765ea654047cf0c0 (patch)
tree6d80d5323cb9a32bba167bd2aa9d4ca2b990447d
parent76787cf4af9b833353a4cc22364234632b2062d2 (diff)
Fix typo in comment.
CONFIG_PRREMPT -> CONFIG_PREEMPT Signed-off-by: Florian La Roche <Florian.LaRoche@googlemail.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--init/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/init/main.c b/init/main.c
index b795aa341a3a..a404936d85d8 100644
--- a/init/main.c
+++ b/init/main.c
@@ -423,7 +423,7 @@ static noinline void __ref rest_init(void)
423 423
424 /* 424 /*
425 * Enable might_sleep() and smp_processor_id() checks. 425 * Enable might_sleep() and smp_processor_id() checks.
426 * They cannot be enabled earlier because with CONFIG_PRREMPT=y 426 * They cannot be enabled earlier because with CONFIG_PREEMPT=y
427 * kernel_thread() would trigger might_sleep() splats. With 427 * kernel_thread() would trigger might_sleep() splats. With
428 * CONFIG_PREEMPT_VOLUNTARY=y the init task might have scheduled 428 * CONFIG_PREEMPT_VOLUNTARY=y the init task might have scheduled
429 * already, but it's stuck on the kthreadd_done completion. 429 * already, but it's stuck on the kthreadd_done completion.