]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[MIPS] Replace use of stext with _stext.
authorRalf Baechle <ralf@linux-mips.org>
Sat, 28 Jul 2007 11:45:47 +0000 (12:45 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 31 Jul 2007 20:35:28 +0000 (21:35 +0100)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/head.S
arch/mips/mm/c-r4k.c

index c15bbc436bbd89a27fb64c65645fb6e4c847ccdb..e46782b0ebc8cff3c293fecbd5b0f0a5ed8e833c 100644 (file)
        .fill   0x400
 #endif
 
-EXPORT(stext)                                  # used for profiling
 EXPORT(_stext)
 
 #ifndef CONFIG_BOOT_RAW
index be96231dccb60508ba6a6cda2f1b5479625434a6..bad571971bf69f99bb8a64824309505fd479da84 100644 (file)
@@ -23,6 +23,7 @@
 #include <asm/page.h>
 #include <asm/pgtable.h>
 #include <asm/r4kcache.h>
+#include <asm/sections.h>
 #include <asm/system.h>
 #include <asm/mmu_context.h>
 #include <asm/war.h>
@@ -1010,7 +1011,6 @@ static void __init probe_pcache(void)
  */
 static int __init probe_scache(void)
 {
-       extern unsigned long stext;
        unsigned long flags, addr, begin, end, pow2;
        unsigned int config = read_c0_config();
        struct cpuinfo_mips *c = &current_cpu_data;
@@ -1019,7 +1019,7 @@ static int __init probe_scache(void)
        if (config & CONF_SC)
                return 0;
 
-       begin = (unsigned long) &stext;
+       begin = (unsigned long) &_stext;
        begin &= ~((4 * 1024 * 1024) - 1);
        end = begin + (4 * 1024 * 1024);