diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2015-03-05 01:19:16 +0100 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2015-03-05 04:07:02 +0100 |
commit | f9b531fe14a539ec2ad802b73c9638f324e4a4ff (patch) | |
tree | b01a1070d33aef3ac045faca56772bc6432f283e /drivers/clocksource/dw_apb_timer.c | |
parent | ia64: Use for_each_cpu_and() and cpumask_any_and() instead of temp var. (diff) | |
download | linux-f9b531fe14a539ec2ad802b73c9638f324e4a4ff.tar.xz linux-f9b531fe14a539ec2ad802b73c9638f324e4a4ff.zip |
drivers: fix up obsolete cpu function usage.
Thanks to spatch, plus manual removal of "&*". Then a sweep for
for_each_cpu_mask => for_each_cpu.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Cc: Jason Cooper <jason@lakedaemon.net>
Cc: Chris Metcalf <cmetcalf@ezchip.com>
Cc: netdev@vger.kernel.org
Diffstat (limited to 'drivers/clocksource/dw_apb_timer.c')
-rw-r--r-- | drivers/clocksource/dw_apb_timer.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/clocksource/dw_apb_timer.c b/drivers/clocksource/dw_apb_timer.c index f3656a6b0382..35a88097af3c 100644 --- a/drivers/clocksource/dw_apb_timer.c +++ b/drivers/clocksource/dw_apb_timer.c @@ -117,7 +117,8 @@ static void apbt_set_mode(enum clock_event_mode mode, unsigned long period; struct dw_apb_clock_event_device *dw_ced = ced_to_dw_apb_ced(evt); - pr_debug("%s CPU %d mode=%d\n", __func__, first_cpu(*evt->cpumask), + pr_debug("%s CPU %d mode=%d\n", __func__, + cpumask_first(evt->cpumask), mode); switch (mode) { |