Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
e001e528
Commit
e001e528
authored
Jul 28, 2007
by
Ralf Baechle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[MIPS] Replace use of stext with _stext.
Signed-off-by:
Ralf Baechle
<
ralf@linux-mips.org
>
parent
348c913f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
arch/mips/kernel/head.S
arch/mips/kernel/head.S
+0
-1
arch/mips/mm/c-r4k.c
arch/mips/mm/c-r4k.c
+2
-2
No files found.
arch/mips/kernel/head.S
View file @
e001e528
...
...
@@ -138,7 +138,6 @@
.
fill
0x400
#endif
EXPORT
(
stext
)
#
used
for
profiling
EXPORT
(
_stext
)
#ifndef CONFIG_BOOT_RAW
...
...
arch/mips/mm/c-r4k.c
View file @
e001e528
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment