aboutsummaryrefslogtreecommitdiff
path: root/arch/mips/mips-boards/sim
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2006-04-03 10:17:21 +0100
committerRalf Baechle <ralf@linux-mips.org>2006-04-19 04:14:20 +0200
commit9c1f1257a364467d091c5166049addaf3e7d7118 (patch)
treef57e94628587661adbe15885a4d9f7b3e7d5e57c /arch/mips/mips-boards/sim
parentba8990f2aec85b5b62643aa82a1e71c738efc487 (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')
-rw-r--r--arch/mips/mips-boards/sim/sim_mem.c4
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 e57f737bab1..ede9c27e450 100644
--- a/arch/mips/mips-boards/sim/sim_mem.c
+++ b/arch/mips/mips-boards/sim/sim_mem.c
@@ -21,6 +21,7 @@
#include <asm/bootinfo.h>
#include <asm/page.h>
+#include <asm/sections.h>
#include <asm/mips-boards/prom.h>
@@ -39,9 +40,6 @@ static char *mtypes[3] = {
};
#endif
-/* References to section boundaries */
-extern char _end;
-
struct prom_pmemblock * __init prom_getmdesc(void)
{
unsigned int memsize;