|
@@ -402,7 +402,7 @@ int lowmem_reserve_ratio_sysctl_handler(struct ctl_table *, int, struct file *,
|
|
|
/* Returns the number of the current Node. */
|
|
|
#define numa_node_id() (cpu_to_node(raw_smp_processor_id()))
|
|
|
|
|
|
-#ifndef CONFIG_DISCONTIGMEM
|
|
|
+#ifndef CONFIG_NEED_MULTIPLE_NODES
|
|
|
|
|
|
extern struct pglist_data contig_page_data;
|
|
|
#define NODE_DATA(nid) (&contig_page_data)
|
|
@@ -410,11 +410,11 @@ extern struct pglist_data contig_page_data;
|
|
|
#define MAX_NODES_SHIFT 1
|
|
|
#define pfn_to_nid(pfn) (0)
|
|
|
|
|
|
-#else /* CONFIG_DISCONTIGMEM */
|
|
|
+#else /* CONFIG_NEED_MULTIPLE_NODES */
|
|
|
|
|
|
#include <asm/mmzone.h>
|
|
|
|
|
|
-#endif /* !CONFIG_DISCONTIGMEM */
|
|
|
+#endif /* !CONFIG_NEED_MULTIPLE_NODES */
|
|
|
|
|
|
#if BITS_PER_LONG == 32 || defined(ARCH_HAS_ATOMIC_UNSIGNED)
|
|
|
/*
|