~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to kernel/stop_machine.c

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
301
301
        case CPU_UP_PREPARE:
302
302
                BUG_ON(stopper->thread || stopper->enabled ||
303
303
                       !list_empty(&stopper->works));
304
 
                p = kthread_create(cpu_stopper_thread, stopper, "migration/%d",
305
 
                                   cpu);
 
304
                p = kthread_create_on_node(cpu_stopper_thread,
 
305
                                           stopper,
 
306
                                           cpu_to_node(cpu),
 
307
                                           "migration/%d", cpu);
306
308
                if (IS_ERR(p))
307
309
                        return notifier_from_errno(PTR_ERR(p));
308
310
                get_task_struct(p);