diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2011-07-17 19:53:19 +0200 |
---|---|---|
committer | Clark Williams <williams@redhat.com> | 2012-02-15 10:32:48 -0600 |
commit | c921cbc54e048fb7ff17e29598f20185cc012270 (patch) | |
tree | 28f0898a316a66c1f4cbd50d4e2601d22b3db8cb /kernel/stop_machine.c | |
parent | 77271bac553d0db5ec99c8743857b5138a249c13 (diff) |
stomp-machine-mark-stomper-thread.patch
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/stop_machine.c')
-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; |