aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mmzone.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/mmzone.h')
-rw-r--r--include/linux/mmzone.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/mmzone.h b/include/linux/mmzone.h
index 39e912708e2a..95f4a780ea66 100644
--- a/include/linux/mmzone.h
+++ b/include/linux/mmzone.h
@@ -402,7 +402,7 @@ int lowmem_reserve_ratio_sysctl_handler(struct ctl_table *, int, struct file *,
402/* Returns the number of the current Node. */ 402/* Returns the number of the current Node. */
403#define numa_node_id() (cpu_to_node(raw_smp_processor_id())) 403#define numa_node_id() (cpu_to_node(raw_smp_processor_id()))
404 404
405#ifndef CONFIG_DISCONTIGMEM 405#ifndef CONFIG_NEED_MULTIPLE_NODES
406 406
407extern struct pglist_data contig_page_data; 407extern struct pglist_data contig_page_data;
408#define NODE_DATA(nid) (&contig_page_data) 408#define NODE_DATA(nid) (&contig_page_data)
@@ -410,11 +410,11 @@ extern struct pglist_data contig_page_data;
410#define MAX_NODES_SHIFT 1 410#define MAX_NODES_SHIFT 1
411#define pfn_to_nid(pfn) (0) 411#define pfn_to_nid(pfn) (0)
412 412
413#else /* CONFIG_DISCONTIGMEM */ 413#else /* CONFIG_NEED_MULTIPLE_NODES */
414 414
415#include <asm/mmzone.h> 415#include <asm/mmzone.h>
416 416
417#endif /* !CONFIG_DISCONTIGMEM */ 417#endif /* !CONFIG_NEED_MULTIPLE_NODES */
418 418
419#if BITS_PER_LONG == 32 || defined(ARCH_HAS_ATOMIC_UNSIGNED) 419#if BITS_PER_LONG == 32 || defined(ARCH_HAS_ATOMIC_UNSIGNED)
420/* 420/*