diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2007-03-15 21:29:13 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-04-26 04:55:33 -0400 |
commit | b93f2620231d4641bdbaaa952d3e8890687124bb (patch) | |
tree | 14b6eb3db5831cb74fb385ce7101682a2513e58a | |
parent | 9753f0d6502acd65761ff15244d26d0e88f0820a (diff) |
[SPARC64]: Add proper header file extern for cmdline_memory_size.
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | arch/sparc64/mm/init.c | 2 | ||||
-rw-r--r-- | include/asm-sparc64/pgtable.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/sparc64/mm/init.c b/arch/sparc64/mm/init.c index 668b7bba90e8..df4e37e0b0fc 100644 --- a/arch/sparc64/mm/init.c +++ b/arch/sparc64/mm/init.c | |||
@@ -761,8 +761,6 @@ out: | |||
761 | smp_new_mmu_context_version(); | 761 | smp_new_mmu_context_version(); |
762 | } | 762 | } |
763 | 763 | ||
764 | extern unsigned long cmdline_memory_size; | ||
765 | |||
766 | /* Find a free area for the bootmem map, avoiding the kernel image | 764 | /* Find a free area for the bootmem map, avoiding the kernel image |
767 | * and the initial ramdisk. | 765 | * and the initial ramdisk. |
768 | */ | 766 | */ |
diff --git a/include/asm-sparc64/pgtable.h b/include/asm-sparc64/pgtable.h index fd46dd615b6f..46705ef47d27 100644 --- a/include/asm-sparc64/pgtable.h +++ b/include/asm-sparc64/pgtable.h | |||
@@ -777,6 +777,8 @@ extern void pgtable_cache_init(void); | |||
777 | extern void sun4v_register_fault_status(void); | 777 | extern void sun4v_register_fault_status(void); |
778 | extern void sun4v_ktsb_register(void); | 778 | extern void sun4v_ktsb_register(void); |
779 | 779 | ||
780 | extern unsigned long cmdline_memory_size; | ||
781 | |||
780 | #endif /* !(__ASSEMBLY__) */ | 782 | #endif /* !(__ASSEMBLY__) */ |
781 | 783 | ||
782 | #endif /* !(_SPARC64_PGTABLE_H) */ | 784 | #endif /* !(_SPARC64_PGTABLE_H) */ |