mask ADT: fix nodes_complement usage - x86_64 [22/22]
PATCH 1/1 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 [email protected] 1.1729
# Fix nodes_complement call - it's a dyadic macro.
# --------------------------------------------
#
arch/x86_64/mm/k8topology.c +2 -1
@@ -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];
Signature · 3 lines
I won't rest till it's the best ...
Programmer, Linux Scalability
Paul Jackson <[email protected]> 1.650.933.1373