aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/time/tick-broadcast.c
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2008-12-31 18:42:29 -0500
committerRusty Russell <rusty@rustcorp.com.au>2008-12-31 18:42:29 -0500
commit5db0e1e9e0f30f160b832a0b5cd1131954bf4f6e (patch)
treec49877290fcbebb6245429bc5d554bea438c4fe8 /kernel/time/tick-broadcast.c
parent174596a0b9f21e8844d70566a6bb29bf48a87750 (diff)
cpumask: replace for_each_cpu_mask_nr with for_each_cpu in kernel/time/
Impact: cleanup Simple replacement, now the _nr is redundant. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Signed-off-by: Mike Travis <travis@sgi.com> Cc: Ingo Molnar <mingo@redhat.com>
Diffstat (limited to 'kernel/time/tick-broadcast.c')
-rw-r--r--kernel/time/tick-broadcast.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/time/tick-broadcast.c b/kernel/time/tick-broadcast.c
index 356fac57a182..118a3b3b3f9a 100644
--- a/kernel/time/tick-broadcast.c
+++ b/kernel/time/tick-broadcast.c
@@ -512,7 +512,7 @@ static void tick_broadcast_init_next_event(struct cpumask *mask,
512 struct tick_device *td; 512 struct tick_device *td;
513 int cpu; 513 int cpu;
514 514
515 for_each_cpu_mask_nr(cpu, *mask) { 515 for_each_cpu(cpu, mask) {
516 td = &per_cpu(tick_cpu_device, cpu); 516 td = &per_cpu(tick_cpu_device, cpu);
517 if (td->evtdev) 517 if (td->evtdev)
518 td->evtdev->next_event = expires; 518 td->evtdev->next_event = expires;