diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2011-07-17 19:53:19 +0200 |
---|---|---|
committer | Clark Williams <williams@redhat.com> | 2011-12-28 16:25:39 -0600 |
commit | a1ba4efb29cca8e292694cea30895a831c6326df (patch) | |
tree | a63fa0254d16a5b376044d0e74c1ece1e964de31 /kernel | |
parent | 5f68e0847c46db4acf11161ee7197685270279e6 (diff) |
stomp-machine-mark-stomper-thread.patch
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/stop_machine.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/stop_machine.c b/kernel/stop_machine.c index 61779f820e8e..484a335c6963 100644 --- a/kernel/stop_machine.c +++ b/kernel/stop_machine.c @@ -327,6 +327,7 @@ static int __cpuinit cpu_stop_cpu_callback(struct notifier_block *nfb, if (IS_ERR(p)) return notifier_from_errno(PTR_ERR(p)); get_task_struct(p); + p->flags |= PF_STOMPER; kthread_bind(p, cpu); sched_set_stop_task(cpu, p); stopper->thread = p; |