Messages in this thread Patch in this message | | | Date | Mon, 29 Mar 2004 04:16:28 -0800 | From | Paul Jackson <> | Subject | [PATCH] mask ADT: fix nodes_complement usage - x86_64 [22/22] |
| |
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 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |