init/main.c: Give init_task a canary
[deliverable/linux.git] / include / linux / sched.h
index 82ff3d6efb1925b01ebf6dbab6bfe8c492399633..118dca7d5a28b9d2d25f589ef79cb4d962550a57 100644 (file)
@@ -57,6 +57,7 @@ struct sched_param {
 #include <linux/llist.h>
 #include <linux/uidgid.h>
 #include <linux/gfp.h>
+#include <linux/magic.h>
 
 #include <asm/processor.h>
 
@@ -2638,6 +2639,7 @@ static inline unsigned long stack_not_used(struct task_struct *p)
        return (unsigned long)n - (unsigned long)end_of_stack(p);
 }
 #endif
+extern void set_task_stack_end_magic(struct task_struct *tsk);
 
 /* set thread flags in other task's structures
  * - see asm/thread_info.h for TIF_xxxx flags available
This page took 0.025155 seconds and 5 git commands to generate.