Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
9c1f1257
Commit
9c1f1257
authored
Apr 03, 2006
by
Ralf Baechle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[MIPS] Replace redundant declarations of _end by <asm/sections.h>.
Signed-off-by:
Ralf Baechle
<
ralf@linux-mips.org
>
parent
ba8990f2
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
10 deletions
+7
-10
arch/mips/dec/boot/decstation.c
arch/mips/dec/boot/decstation.c
+2
-1
arch/mips/ite-boards/ivr/init.c
arch/mips/ite-boards/ivr/init.c
+1
-1
arch/mips/ite-boards/qed-4n-s01b/init.c
arch/mips/ite-boards/qed-4n-s01b/init.c
+1
-1
arch/mips/mips-boards/generic/memory.c
arch/mips/mips-boards/generic/memory.c
+2
-4
arch/mips/mips-boards/sim/sim_mem.c
arch/mips/mips-boards/sim/sim_mem.c
+1
-3
No files found.
arch/mips/dec/boot/decstation.c
View file @
9c1f1257
/*
* arch/mips/dec/decstation.c
*/
#include <asm/sections.h>
#define RELOC
#define INITRD
...
...
@@ -24,7 +25,7 @@
#define INITRD_START (*(unsigned long *) (PARAM+0x218))
#define INITRD_SIZE (*(unsigned long *) (PARAM+0x21c))
extern
int
_ftext
,
_end
;
/* begin and end of kernel image */
extern
int
_ftext
;
/* begin and end of kernel image */
extern
void
kernel_entry
(
int
,
char
**
,
unsigned
long
,
int
*
);
void
*
memcpy
(
void
*
dest
,
const
void
*
src
,
unsigned
int
count
)
...
...
arch/mips/ite-boards/ivr/init.c
View file @
9c1f1257
...
...
@@ -34,13 +34,13 @@
#include <asm/bootinfo.h>
#include <linux/string.h>
#include <linux/kernel.h>
#include <asm/sections.h>
#include <asm/it8172/it8172.h>
#include <asm/it8172/it8172_dbg.h>
int
prom_argc
;
char
**
prom_argv
,
**
prom_envp
;
extern
char
_end
;
extern
void
__init
prom_init_cmdline
(
void
);
extern
unsigned
long
__init
prom_get_memsize
(
void
);
extern
void
__init
it8172_init_ram_resource
(
unsigned
long
memsize
);
...
...
arch/mips/ite-boards/qed-4n-s01b/init.c
View file @
9c1f1257
...
...
@@ -34,13 +34,13 @@
#include <asm/bootinfo.h>
#include <linux/string.h>
#include <linux/kernel.h>
#include <asm/sections.h>
#include <asm/it8172/it8172.h>
#include <asm/it8172/it8172_dbg.h>
int
prom_argc
;
char
**
prom_argv
,
**
prom_envp
;
extern
char
_end
;
extern
void
__init
prom_init_cmdline
(
void
);
extern
unsigned
long
__init
prom_get_memsize
(
void
);
extern
void
__init
it8172_init_ram_resource
(
unsigned
long
memsize
);
...
...
arch/mips/mips-boards/generic/memory.c
View file @
9c1f1257
...
...
@@ -26,6 +26,7 @@
#include <asm/bootinfo.h>
#include <asm/page.h>
#include <asm/sections.h>
#include <asm/mips-boards/prom.h>
...
...
@@ -46,9 +47,6 @@ static char *mtypes[3] = {
};
#endif
/* References to section boundaries */
extern
char
_end
;
struct
prom_pmemblock
*
__init
prom_getmdesc
(
void
)
{
char
*
memsize_str
;
...
...
@@ -106,7 +104,7 @@ struct prom_pmemblock * __init prom_getmdesc(void)
mdesc
[
3
].
type
=
yamon_dontuse
;
mdesc
[
3
].
base
=
0x00100000
;
mdesc
[
3
].
size
=
CPHYSADDR
(
PAGE_ALIGN
(
&
_end
))
-
mdesc
[
3
].
base
;
mdesc
[
3
].
size
=
CPHYSADDR
(
PAGE_ALIGN
(
(
unsigned
long
)
&
_end
))
-
mdesc
[
3
].
base
;
mdesc
[
4
].
type
=
yamon_free
;
mdesc
[
4
].
base
=
CPHYSADDR
(
PAGE_ALIGN
(
&
_end
));
...
...
arch/mips/mips-boards/sim/sim_mem.c
View file @
9c1f1257
...
...
@@ -21,6 +21,7 @@
#include <asm/bootinfo.h>
#include <asm/page.h>
#include <asm/sections.h>
#include <asm/mips-boards/prom.h>
...
...
@@ -39,9 +40,6 @@ static char *mtypes[3] = {
};
#endif
/* References to section boundaries */
extern
char
_end
;
struct
prom_pmemblock
*
__init
prom_getmdesc
(
void
)
{
unsigned
int
memsize
;
...
...
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