Skip to contentSkip to conversation

cpumask: convert for_each_cpumask() with for_each_cpu()

PATCH KOSAKI Motohiro 1 participant 1 message Apr 25, 2011

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Adapt new API fashion.

---
 lib/cpumask.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
lib/cpumask.c +1 -1
index 05d6aca..4f6425d 100644
@@ -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;
 	}
Signature · 1 line
1.7.3.1