diff options
author | Andy Whitcroft <apw@shadowen.org> | 2006-10-21 13:24:14 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-21 16:35:06 -0400 |
commit | 7516795739bd53175629b90fab0ad488d7a6a9f7 (patch) | |
tree | 1f6b4b7a4f08a25155605b10d5963b7c6ca72e7b /include | |
parent | 047a66d4bb24aaf19f41d620f8f0534c2153cd0b (diff) |
[PATCH] Reintroduce NODES_SPAN_OTHER_NODES for powerpc
Reintroduce NODES_SPAN_OTHER_NODES for powerpc
Revert "[PATCH] Remove SPAN_OTHER_NODES config definition"
This reverts commit f62859bb6871c5e4a8e591c60befc8caaf54db8c.
Revert "[PATCH] mm: remove arch independent NODES_SPAN_OTHER_NODES"
This reverts commit a94b3ab7eab4edcc9b2cb474b188f774c331adf7.
Also update the comments to indicate that this is still required
and where its used.
Signed-off-by: Andy Whitcroft <apw@shadowen.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Mike Kravetz <kravetz@us.ibm.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Acked-by: Mel Gorman <mel@csn.ul.ie>
Acked-by: Will Schmidt <will_schmidt@vnet.ibm.com>
Cc: Christoph Lameter <clameter@sgi.com>
Cc: <stable@kernel.org>
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, 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 |