Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 125706
b: refs/heads/master
c: 5db0e1e
h: refs/heads/master
v: v3
  • Loading branch information
Rusty Russell committed Dec 31, 2008
1 parent 5237cbe commit b8a2074
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 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: 174596a0b9f21e8844d70566a6bb29bf48a87750
refs/heads/master: 5db0e1e9e0f30f160b832a0b5cd1131954bf4f6e
3 changes: 2 additions & 1 deletion trunk/kernel/time/clocksource.c
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,8 @@ static void clocksource_watchdog(unsigned long data)
* Cycle through CPUs to check if the CPUs stay
* synchronized to each other.
*/
int next_cpu = next_cpu_nr(raw_smp_processor_id(), cpu_online_map);
int next_cpu = cpumask_next(raw_smp_processor_id(),
cpu_online_mask);

if (next_cpu >= nr_cpu_ids)
next_cpu = cpumask_first(cpu_online_mask);
Expand Down
2 changes: 1 addition & 1 deletion trunk/kernel/time/tick-broadcast.c
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,7 @@ static void tick_broadcast_init_next_event(struct cpumask *mask,
struct tick_device *td;
int cpu;

for_each_cpu_mask_nr(cpu, *mask) {
for_each_cpu(cpu, mask) {
td = &per_cpu(tick_cpu_device, cpu);
if (td->evtdev)
td->evtdev->next_event = expires;
Expand Down

0 comments on commit b8a2074

Please sign in to comment.