Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 25948
b: refs/heads/master
c: 9c1f125
h: refs/heads/master
v: v3
  • Loading branch information
Ralf Baechle committed Apr 19, 2006
1 parent a6a9105 commit 2d74b4d
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 11 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: ba8990f2aec85b5b62643aa82a1e71c738efc487
refs/heads/master: 9c1f1257a364467d091c5166049addaf3e7d7118
3 changes: 2 additions & 1 deletion trunk/arch/mips/dec/boot/decstation.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/*
* arch/mips/dec/decstation.c
*/
#include <asm/sections.h>

#define RELOC
#define INITRD
Expand All @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/mips/ite-boards/ivr/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/mips/ite-boards/qed-4n-s01b/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
6 changes: 2 additions & 4 deletions trunk/arch/mips/mips-boards/generic/memory.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@

#include <asm/bootinfo.h>
#include <asm/page.h>
#include <asm/sections.h>

#include <asm/mips-boards/prom.h>

Expand All @@ -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;
Expand Down Expand Up @@ -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));
Expand Down
4 changes: 1 addition & 3 deletions trunk/arch/mips/mips-boards/sim/sim_mem.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@

#include <asm/bootinfo.h>
#include <asm/page.h>
#include <asm/sections.h>

#include <asm/mips-boards/prom.h>

Expand All @@ -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;
Expand Down

0 comments on commit 2d74b4d

Please sign in to comment.