diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2012-04-06 14:47:35 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2012-04-14 14:28:58 +0200 |
commit | 302616911da8e868d3f1a00dce517ca30b0e065d (patch) | |
tree | 14e692e895abe41a2e60e07bb98d41b78848637f /arch/x86/Kconfig | |
parent | a6fca40f1d7f3e232c9de27c1cebbb9f787fbc4f (diff) | |
download | op-kernel-dev-302616911da8e868d3f1a00dce517ca30b0e065d.zip op-kernel-dev-302616911da8e868d3f1a00dce517ca30b0e065d.tar.gz |
x86: Drop obsolete ARCH_BOOTMEM support
x86 unconditionally uses NO_BOOTMEM so there is no use
of the HAVE_ARCH_BOOTMEM support as mm/bootmem.c is the
only file referencing this symbol.
bootmem_arch_preferred_node() is the function referred
in the mm/bootmem.c code and can thuis be dropped too.
x86 was the sole user of HAVE_ARCH_BOOTMEM - so there is
an opportunity to clean up a little in mm/bootmem.c too
if we do not expect other users to emerge.
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Cc: Tejun Heo <tj@kernel.org>
Link: http://lkml.kernel.org/r/20120406124735.GA6920@merkur.ravnborg.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/Kconfig')
-rw-r--r-- | arch/x86/Kconfig | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 5bed94e1..a105ee7 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -1255,10 +1255,6 @@ config NODES_SHIFT Specify the maximum number of NUMA Nodes available on the target system. Increases memory reserved to accommodate various tables. -config HAVE_ARCH_BOOTMEM - def_bool y - depends on X86_32 && NUMA - config HAVE_ARCH_ALLOC_REMAP def_bool y depends on X86_32 && NUMA |