public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] mask ADT:  fix nodes_complement usage - x86_64 [22/22]
@ 2004-03-29 12:16 Paul Jackson
  0 siblings, 0 replies; only message in thread
From: Paul Jackson @ 2004-03-29 12:16 UTC (permalink / raw)
  To: linux-kernel; +Cc: mbligh, akpm, wli, haveblue, colpatch

Patch_22_of_22 - Fix nodes_complement call - it's a dyadic macro.
	One bit of code in Matthew's Patch 5 of 7 also had a
	nodes_complement call - convert it to two arg form.

diffstat Patch_22_of_22:
 k8topology.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)

# This is a BitKeeper generated patch for the following project:
# Project Name: Linux kernel tree
# This patch format is intended for GNU patch command version 2.5 or higher.
# This patch includes the following deltas:
#	           ChangeSet	1.1728  -> 1.1729 
#	arch/x86_64/mm/k8topology.c	1.10    -> 1.11   
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 04/03/29	pj@sgi.com	1.1729
# Fix nodes_complement call - it's a dyadic macro.
# --------------------------------------------
#
diff -Nru a/arch/x86_64/mm/k8topology.c b/arch/x86_64/mm/k8topology.c
--- a/arch/x86_64/mm/k8topology.c	Mon Mar 29 01:41:13 2004
+++ b/arch/x86_64/mm/k8topology.c	Mon Mar 29 01:41:13 2004
@@ -163,7 +163,8 @@
 	   CPUs, as the number of CPUs is not known yet. 
 	   We round robin the existing nodes. */
 	rr = first_node(node_online_map);
-	nodemask_t node_offline_map = nodes_complement(node_online_map);
+	nodemask_t node_offline_map;
+	nodes_complement(node_offline_map, node_online_map);
 	for_each_node_mask(i, node_offline_map) {
 		node_data[i] = node_data[rr];
 


-- 
                          I won't rest till it's the best ...
                          Programmer, Linux Scalability
                          Paul Jackson <pj@sgi.com> 1.650.933.1373

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-03-29 13:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-29 12:16 [PATCH] mask ADT: fix nodes_complement usage - x86_64 [22/22] Paul Jackson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox