Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[MIPS] Replace use of stext with _stext.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

+2 -3
-1
arch/mips/kernel/head.S
··· 138 138 .fill 0x400 139 139 #endif 140 140 141 - EXPORT(stext) # used for profiling 142 141 EXPORT(_stext) 143 142 144 143 #ifndef CONFIG_BOOT_RAW
+2 -2
arch/mips/mm/c-r4k.c
··· 23 23 #include <asm/page.h> 24 24 #include <asm/pgtable.h> 25 25 #include <asm/r4kcache.h> 26 + #include <asm/sections.h> 26 27 #include <asm/system.h> 27 28 #include <asm/mmu_context.h> 28 29 #include <asm/war.h> ··· 1011 1010 */ 1012 1011 static int __init probe_scache(void) 1013 1012 { 1014 - extern unsigned long stext; 1015 1013 unsigned long flags, addr, begin, end, pow2; 1016 1014 unsigned int config = read_c0_config(); 1017 1015 struct cpuinfo_mips *c = &current_cpu_data; ··· 1019 1019 if (config & CONF_SC) 1020 1020 return 0; 1021 1021 1022 - begin = (unsigned long) &stext; 1022 + begin = (unsigned long) &_stext; 1023 1023 begin &= ~((4 * 1024 * 1024) - 1); 1024 1024 end = begin + (4 * 1024 * 1024); 1025 1025