]> git.karo-electronics.de Git - karo-tx-linux.git/commit
memory-hotplug-remove-memmap-of-sparse-vmemmap-fix
authorMichal Hocko <mhocko@suse.cz>
Wed, 20 Feb 2013 02:14:18 +0000 (13:14 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 20 Feb 2013 05:52:32 +0000 (16:52 +1100)
commit5c299ae21919e5e28829e90649c5097feccf0cb2
treebd828b223453fa1473108859a4d89a8ac629ca95
parent858ae1de5d90d4bc3c1d337e19f2d3f34ff111a6
memory-hotplug-remove-memmap-of-sparse-vmemmap-fix

Defconfig for x86_64 complains:
arch/x86/mm/init_64.c: In function `vmemmap_free':
arch/x86/mm/init_64.c:1317: error: implicit declaration of function `remove_pagetable'

vmemmap_free is only used for CONFIG_MEMORY_HOTPLUG so let's move it
inside ifdef

Signed-off-by: Michal Hocko <mhocko@suse.cz>
Tested-by: Lin Feng <linfeng@cn.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
arch/x86/mm/init_64.c
include/linux/mm.h