Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 125695
b: refs/heads/master
c: f1fc057
h: refs/heads/master
i:
  125693: fad934c
  125691: 585b8ba
  125687: 45be76b
  125679: a35050c
  125663: 04237c0
  125631: 90871cd
  125567: 01a407c
  125439: 5d201d7
v: v3
  • Loading branch information
Rusty Russell committed Dec 31, 2008
1 parent 4724e15 commit 66381b6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4462344ee9ea9224d026801b877887f2f39774a3
refs/heads/master: f1fc057c79cb2d27602fb3ad08a031f13459ef27
2 changes: 1 addition & 1 deletion trunk/kernel/softirq.c
Original file line number Diff line number Diff line change
Expand Up @@ -733,7 +733,7 @@ static int __cpuinit cpu_callback(struct notifier_block *nfb,
break;
/* Unbind so it can run. Fall thru. */
kthread_bind(per_cpu(ksoftirqd, hotcpu),
any_online_cpu(cpu_online_map));
cpumask_any(cpu_online_mask));
case CPU_DEAD:
case CPU_DEAD_FROZEN: {
struct sched_param param = { .sched_priority = MAX_RT_PRIO-1 };
Expand Down
6 changes: 3 additions & 3 deletions trunk/kernel/softlockup.c
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ cpu_callback(struct notifier_block *nfb, unsigned long action, void *hcpu)
break;
case CPU_ONLINE:
case CPU_ONLINE_FROZEN:
check_cpu = any_online_cpu(cpu_online_map);
check_cpu = cpumask_any(cpu_online_mask);
wake_up_process(per_cpu(watchdog_task, hotcpu));
break;
#ifdef CONFIG_HOTPLUG_CPU
Expand All @@ -313,7 +313,7 @@ cpu_callback(struct notifier_block *nfb, unsigned long action, void *hcpu)
cpumask_t temp_cpu_online_map = cpu_online_map;

cpu_clear(hotcpu, temp_cpu_online_map);
check_cpu = any_online_cpu(temp_cpu_online_map);
check_cpu = cpumask_any(&temp_cpu_online_map);
}
break;

Expand All @@ -323,7 +323,7 @@ cpu_callback(struct notifier_block *nfb, unsigned long action, void *hcpu)
break;
/* Unbind so it can run. Fall thru. */
kthread_bind(per_cpu(watchdog_task, hotcpu),
any_online_cpu(cpu_online_map));
cpumask_any(cpu_online_mask));
case CPU_DEAD:
case CPU_DEAD_FROZEN:
p = per_cpu(watchdog_task, hotcpu);
Expand Down

0 comments on commit 66381b6

Please sign in to comment.