summaryrefslogtreecommitdiffstats
path: root/mm/page_alloc.c
diff options
context:
space:
mode:
authorDean Nelson <dcn@sgi.com>2005-03-24 03:00:00 +0100
committerTony Luck <tony.luck@intel.com>2005-05-03 21:09:32 +0200
commit7223a93a5321f84337647aef62ef947afd8df41a (patch)
tree10d4c8e4cb1b4ddf33ca32efbe915ca91d19fcd1 /mm/page_alloc.c
parent[PATCH] move cnodeid_to_nasid_table out of pda (diff)
downloadlinux-7223a93a5321f84337647aef62ef947afd8df41a.tar.xz
linux-7223a93a5321f84337647aef62ef947afd8df41a.zip
[IA64] Export node_online_map and node_possible_map
Export node_online_map and node_possible_map so that kernel modules can use the nodemask macros, like, for_each_node() and for_each_online_node(). Signed-off-by: Dean Nelson <dcn@sgi.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'mm/page_alloc.c')
-rw-r--r--mm/page_alloc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c
index fc1b1064c505..b1061b1962f8 100644
--- a/mm/page_alloc.c
+++ b/mm/page_alloc.c
@@ -43,7 +43,9 @@
* initializer cleaner
*/
nodemask_t node_online_map = { { [0] = 1UL } };
+EXPORT_SYMBOL(node_online_map);
nodemask_t node_possible_map = NODE_MASK_ALL;
+EXPORT_SYMBOL(node_possible_map);
struct pglist_data *pgdat_list;
unsigned long totalram_pages;
unsigned long totalhigh_pages;