* cpumask: convert for_each_cpumask() with for_each_cpu()
@ 2011-04-25 9:39 KOSAKI Motohiro
0 siblings, 0 replies; only message in thread
From: KOSAKI Motohiro @ 2011-04-25 9:39 UTC (permalink / raw)
To: LKML, Andrew Morton; +Cc: kosaki.motohiro
Adapt new API fashion.
Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
---
lib/cpumask.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/lib/cpumask.c b/lib/cpumask.c
index 05d6aca..4f6425d 100644
--- a/lib/cpumask.c
+++ b/lib/cpumask.c
@@ -30,7 +30,7 @@ int __any_online_cpu(const cpumask_t *mask)
{
int cpu;
- for_each_cpu_mask(cpu, *mask) {
+ for_each_cpu(cpu, mask) {
if (cpu_online(cpu))
break;
}
--
1.7.3.1
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-04-25 9:39 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-25 9:39 cpumask: convert for_each_cpumask() with for_each_cpu() KOSAKI Motohiro
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®