x86: change kernel_physical_mapping_init() __init to __meminit
authorShaohua Li <shaohua.li@intel.com>
Fri, 12 Jun 2009 04:57:52 +0000 (12:57 +0800)
committerIngo Molnar <mingo@elte.hu>
Fri, 12 Jun 2009 12:39:21 +0000 (14:39 +0200)
commit41d840e224170d2768493e320f290ed060491727
treef4a29d6f48d98734c9a098f67b6bd3290605055a
parent1260866a271abc84274345580f3d613d3bceff87
x86: change kernel_physical_mapping_init() __init to __meminit

kernel_physical_mapping_init() could be called in memory hotplug path.

[ Impact: fix potential crash with memory hotplug ]

Signed-off-by: Shaohua Li <shaohua.li@intel.com>
LKML-Reference: <20090612045752.GA827@sli10-desk.sh.intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/mm/init_64.c