aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/linux/mmzone.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/mmzone.h b/include/linux/mmzone.h
index 59855b8718a0..ed0762b283a9 100644
--- a/include/linux/mmzone.h
+++ b/include/linux/mmzone.h
@@ -674,6 +674,12 @@ void sparse_init(void);
674#define sparse_index_init(_sec, _nid) do {} while (0) 674#define sparse_index_init(_sec, _nid) do {} while (0)
675#endif /* CONFIG_SPARSEMEM */ 675#endif /* CONFIG_SPARSEMEM */
676 676
677#ifdef CONFIG_NODES_SPAN_OTHER_NODES
678#define early_pfn_in_nid(pfn, nid) (early_pfn_to_nid(pfn) == (nid))
679#else
680#define early_pfn_in_nid(pfn, nid) (1)
681#endif
682
677#ifndef early_pfn_valid 683#ifndef early_pfn_valid
678#define early_pfn_valid(pfn) (1) 684#define early_pfn_valid(pfn) (1)
679#endif 685#endif