Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 63473
b: refs/heads/master
c: e001e52
h: refs/heads/master
i:
  63471: d199933
v: v3
  • Loading branch information
Ralf Baechle committed Jul 31, 2007
1 parent 4b72645 commit fb72e5b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 348c913f571dc1a0e7fd84d7206fc7ee983420df
refs/heads/master: e001e52801ffb2d8dae43f26bdf67df62d312d85
1 change: 0 additions & 1 deletion trunk/arch/mips/kernel/head.S
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,6 @@
.fill 0x400
#endif

EXPORT(stext) # used for profiling
EXPORT(_stext)

#ifndef CONFIG_BOOT_RAW
Expand Down
4 changes: 2 additions & 2 deletions trunk/arch/mips/mm/c-r4k.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -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;
Expand All @@ -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);

Expand Down

0 comments on commit fb72e5b

Please sign in to comment.