|
@@ -26,6 +26,7 @@
|
|
|
* Thomas Gleixner, Mike Kravetz
|
|
* Thomas Gleixner, Mike Kravetz
|
|
|
*/
|
|
*/
|
|
|
|
|
|
|
|
|
|
+#include <linux/kasan.h>
|
|
|
#include <linux/mm.h>
|
|
#include <linux/mm.h>
|
|
|
#include <linux/module.h>
|
|
#include <linux/module.h>
|
|
|
#include <linux/nmi.h>
|
|
#include <linux/nmi.h>
|
|
@@ -5096,6 +5097,8 @@ void init_idle(struct task_struct *idle, int cpu)
|
|
|
idle->state = TASK_RUNNING;
|
|
idle->state = TASK_RUNNING;
|
|
|
idle->se.exec_start = sched_clock();
|
|
idle->se.exec_start = sched_clock();
|
|
|
|
|
|
|
|
|
|
+ kasan_unpoison_task_stack(idle);
|
|
|
|
|
+
|
|
|
#ifdef CONFIG_SMP
|
|
#ifdef CONFIG_SMP
|
|
|
/*
|
|
/*
|
|
|
* Its possible that init_idle() gets called multiple times on a task,
|
|
* Its possible that init_idle() gets called multiple times on a task,
|