From: Ralf Baechle Date: Sat, 28 Jul 2007 11:45:47 +0000 (+0100) Subject: [MIPS] Replace use of stext with _stext. X-Git-Tag: v2.6.23-rc2~30^2~25 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e001e52801ffb2d8dae43f26bdf67df62d312d85;p=linux-2.6 [MIPS] Replace use of stext with _stext. Signed-off-by: Ralf Baechle --- diff --git a/arch/mips/kernel/head.S b/arch/mips/kernel/head.S index c15bbc436b..e46782b0eb 100644 --- a/arch/mips/kernel/head.S +++ b/arch/mips/kernel/head.S @@ -138,7 +138,6 @@ .fill 0x400 #endif -EXPORT(stext) # used for profiling EXPORT(_stext) #ifndef CONFIG_BOOT_RAW diff --git a/arch/mips/mm/c-r4k.c b/arch/mips/mm/c-r4k.c index be96231dcc..bad571971b 100644 --- a/arch/mips/mm/c-r4k.c +++ b/arch/mips/mm/c-r4k.c @@ -23,6 +23,7 @@ #include #include #include +#include #include #include #include @@ -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 = ¤t_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);