diff options
author | Andy Whitcroft <apw@shadowen.org> | 2005-06-23 03:07:52 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-23 12:45:04 -0400 |
commit | b159d43fbf7eaaac6ecc647f51cf4257332db47b (patch) | |
tree | 968d856c1bd80b47c76d27da272d95bcaf97aa78 /arch | |
parent | 368a0a3afad08069b2679ecaff80fc18c10a6e2a (diff) |
[PATCH] generify early_pfn_to_nid
Provide a default implementation for early_pfn_to_nid returning node 0. Allow
architectures to override this with their own implementation out of
asm/mmzone.h.
Signed-off-by: Andy Whitcroft <apw@shadowen.org>
Signed-off-by: Dave Hansen <haveblue@us.ibm.com>
Signed-off-by: Martin Bligh <mbligh@aracnet.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/i386/Kconfig | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/i386/Kconfig b/arch/i386/Kconfig index 8e5242c8e09d..a8128f997339 100644 --- a/arch/i386/Kconfig +++ b/arch/i386/Kconfig | |||
@@ -810,6 +810,10 @@ config HAVE_ARCH_ALLOC_REMAP | |||
810 | 810 | ||
811 | source "mm/Kconfig" | 811 | source "mm/Kconfig" |
812 | 812 | ||
813 | config HAVE_ARCH_EARLY_PFN_TO_NID | ||
814 | bool | ||
815 | default y | ||
816 | |||
813 | config HIGHPTE | 817 | config HIGHPTE |
814 | bool "Allocate 3rd-level pagetables from highmem" | 818 | bool "Allocate 3rd-level pagetables from highmem" |
815 | depends on HIGHMEM4G || HIGHMEM64G | 819 | depends on HIGHMEM4G || HIGHMEM64G |