From: Andrew Morton Date: Wed, 20 Feb 2013 02:14:17 +0000 (+1100) Subject: memory-hotplug-remove-page-table-of-x86_64-architecture-fix X-Git-Tag: next-20130220~1^2~533 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=2951c22147bdc3b49a51330c03ecf00cb0e473f9;p=karo-tx-linux.git memory-hotplug-remove-page-table-of-x86_64-architecture-fix make kernel_physical_mapping_remove() static Cc: Jiang Liu Cc: Jianguo Wu Cc: Tang Chen Cc: Wen Congyang Signed-off-by: Andrew Morton --- diff --git a/arch/x86/mm/init_64.c b/arch/x86/mm/init_64.c index 37a510dd73b6..4e58b83e6b2e 100644 --- a/arch/x86/mm/init_64.c +++ b/arch/x86/mm/init_64.c @@ -1011,7 +1011,7 @@ remove_pagetable(unsigned long start, unsigned long end, bool direct) flush_tlb_all(); } -void __meminit +static void __meminit kernel_physical_mapping_remove(unsigned long start, unsigned long end) { start = (unsigned long)__va(start);