diff options
author | Mike Kravetz <kravetz@us.ibm.com> | 2006-01-06 03:10:51 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-06 11:33:24 -0500 |
commit | a94b3ab7eab4edcc9b2cb474b188f774c331adf7 (patch) | |
tree | 96636969fa4a9e0b79c98f81cbcd726c5d3834a5 /include | |
parent | d5afa6dcf74c0efb60ce07c63d0a727be93c67c5 (diff) |
[PATCH] mm: remove arch independent NODES_SPAN_OTHER_NODES
The NODES_SPAN_OTHER_NODES config option was created so that DISCONTIGMEM
could handle pSeries numa layouts. However, support for DISCONTIGMEM has
been replaced by SPARSEMEM on powerpc. As a result, this config option and
supporting code is no longer needed.
I have already sent a patch to Paul that removes the option from powerpc
specific code. This removes the arch independent piece. Doesn't really
matter which is applied first.
Signed-off-by: Mike Kravetz <kravetz@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/mmzone.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/mmzone.h b/include/linux/mmzone.h index 28f8496abcb9..d294b57a4016 100644 --- a/include/linux/mmzone.h +++ b/include/linux/mmzone.h | |||
@@ -603,12 +603,6 @@ void sparse_init(void); | |||
603 | #define sparse_index_init(_sec, _nid) do {} while (0) | 603 | #define sparse_index_init(_sec, _nid) do {} while (0) |
604 | #endif /* CONFIG_SPARSEMEM */ | 604 | #endif /* CONFIG_SPARSEMEM */ |
605 | 605 | ||
606 | #ifdef CONFIG_NODES_SPAN_OTHER_NODES | ||
607 | #define early_pfn_in_nid(pfn, nid) (early_pfn_to_nid(pfn) == (nid)) | ||
608 | #else | ||
609 | #define early_pfn_in_nid(pfn, nid) (1) | ||
610 | #endif | ||
611 | |||
612 | #ifndef early_pfn_valid | 606 | #ifndef early_pfn_valid |
613 | #define early_pfn_valid(pfn) (1) | 607 | #define early_pfn_valid(pfn) (1) |
614 | #endif | 608 | #endif |