* [PATCH] cpumask add highest_possible_node_id fix
@ 2006-09-27 8:54 Paul Jackson
0 siblings, 0 replies; only message in thread
From: Paul Jackson @ 2006-09-27 8:54 UTC (permalink / raw)
To: Andrew Morton; +Cc: Greg Banks, Paul Jackson, linux-kernel
Fix typo in lib/cpumask.c - looks like a cut+paste forgot
to change a cpu macro call to a node macro call. This
typo caused the following build warnings:
lib/cpumask.c: In function `highest_possible_node_id':
lib/cpumask.c:56: warning: passing arg 1 of `__first_cpu' from incompatible pointer type
lib/cpumask.c:56: warning: passing arg 2 of `__next_cpu' from incompatible pointer type
Signed-off-by: Paul Jackson <pj@sgi.com>
---
lib/cpumask.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
--- 2.6.18-rc7-mm1.orig/lib/cpumask.c 2006-09-26 16:25:57.000000000 -0700
+++ 2.6.18-rc7-mm1/lib/cpumask.c 2006-09-27 01:38:17.000000000 -0700
@@ -53,7 +53,7 @@ int highest_possible_node_id(void)
unsigned int node;
unsigned int highest = 0;
- for_each_cpu_mask(node, node_possible_map)
+ for_each_node_mask(node, node_possible_map)
highest = node;
return highest;
}
--
I won't rest till it's the best ...
Programmer, Linux Scalability
Paul Jackson <pj@sgi.com> 1.925.600.0401
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-09-27 8:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-09-27 8:54 [PATCH] cpumask add highest_possible_node_id fix Paul Jackson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome