]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
memory-hotplug-remove-page-table-of-x86_64-architecture-fix
authorAndrew Morton <akpm@linux-foundation.org>
Wed, 20 Feb 2013 02:14:17 +0000 (13:14 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 20 Feb 2013 05:52:31 +0000 (16:52 +1100)
make kernel_physical_mapping_remove() static

Cc: Jiang Liu <jiang.liu@huawei.com>
Cc: Jianguo Wu <wujianguo@huawei.com>
Cc: Tang Chen <tangchen@cn.fujitsu.com>
Cc: Wen Congyang <wency@cn.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
arch/x86/mm/init_64.c

index 37a510dd73b6c367ea5f07e090a51fa0ec67f1fa..4e58b83e6b2ea41d705fe9d6be1cc0e986f4b1ad 100644 (file)
@@ -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);