diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2006-04-03 05:17:21 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2006-04-18 22:14:20 -0400 |
commit | 9c1f1257a364467d091c5166049addaf3e7d7118 (patch) | |
tree | f57e94628587661adbe15885a4d9f7b3e7d5e57c /arch/mips/mips-boards/sim/sim_mem.c | |
parent | ba8990f2aec85b5b62643aa82a1e71c738efc487 (diff) |
[MIPS] Replace redundant declarations of _end by <asm/sections.h>.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/mips-boards/sim/sim_mem.c')
-rw-r--r-- | arch/mips/mips-boards/sim/sim_mem.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/mips/mips-boards/sim/sim_mem.c b/arch/mips/mips-boards/sim/sim_mem.c index e57f737bab10..ede9c27e450b 100644 --- a/arch/mips/mips-boards/sim/sim_mem.c +++ b/arch/mips/mips-boards/sim/sim_mem.c | |||
@@ -21,6 +21,7 @@ | |||
21 | 21 | ||
22 | #include <asm/bootinfo.h> | 22 | #include <asm/bootinfo.h> |
23 | #include <asm/page.h> | 23 | #include <asm/page.h> |
24 | #include <asm/sections.h> | ||
24 | 25 | ||
25 | #include <asm/mips-boards/prom.h> | 26 | #include <asm/mips-boards/prom.h> |
26 | 27 | ||
@@ -39,9 +40,6 @@ static char *mtypes[3] = { | |||
39 | }; | 40 | }; |
40 | #endif | 41 | #endif |
41 | 42 | ||
42 | /* References to section boundaries */ | ||
43 | extern char _end; | ||
44 | |||
45 | struct prom_pmemblock * __init prom_getmdesc(void) | 43 | struct prom_pmemblock * __init prom_getmdesc(void) |
46 | { | 44 | { |
47 | unsigned int memsize; | 45 | unsigned int memsize; |