瀏覽代碼

[SPARC64]: Add proper header file extern for cmdline_memory_size.

Signed-off-by: David S. Miller <davem@davemloft.net>
David S. Miller 18 年之前
父節點
當前提交
b93f262023
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 0 2
      arch/sparc64/mm/init.c
  2. 2 0
      include/asm-sparc64/pgtable.h

+ 0 - 2
arch/sparc64/mm/init.c

@@ -761,8 +761,6 @@ out:
 		smp_new_mmu_context_version();
 		smp_new_mmu_context_version();
 }
 }
 
 
-extern unsigned long cmdline_memory_size;
-
 /* Find a free area for the bootmem map, avoiding the kernel image
 /* Find a free area for the bootmem map, avoiding the kernel image
  * and the initial ramdisk.
  * and the initial ramdisk.
  */
  */

+ 2 - 0
include/asm-sparc64/pgtable.h

@@ -777,6 +777,8 @@ extern void pgtable_cache_init(void);
 extern void sun4v_register_fault_status(void);
 extern void sun4v_register_fault_status(void);
 extern void sun4v_ktsb_register(void);
 extern void sun4v_ktsb_register(void);
 
 
+extern unsigned long cmdline_memory_size;
+
 #endif /* !(__ASSEMBLY__) */
 #endif /* !(__ASSEMBLY__) */
 
 
 #endif /* !(_SPARC64_PGTABLE_H) */
 #endif /* !(_SPARC64_PGTABLE_H) */