|
@@ -438,7 +438,7 @@ static int watchdog_enable(int cpu)
|
|
|
|
|
|
/* create the watchdog thread */
|
|
|
if (!p) {
|
|
|
- p = kthread_create(watchdog, (void *)(unsigned long)cpu, "watchdog/%d", cpu);
|
|
|
+ p = kthread_create_on_node(watchdog, NULL, cpu_to_node(cpu), "watchdog/%d", cpu);
|
|
|
if (IS_ERR(p)) {
|
|
|
printk(KERN_ERR "softlockup watchdog for %i failed\n", cpu);
|
|
|
if (!err) {
|