Loading arch/mips/dec/boot/decstation.c +2 −1 Original line number Diff line number Diff line /* * arch/mips/dec/decstation.c */ #include <asm/sections.h> #define RELOC #define INITRD Loading @@ -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) Loading arch/mips/ite-boards/ivr/init.c +1 −1 Original line number Diff line number Diff line Loading @@ -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); Loading arch/mips/ite-boards/qed-4n-s01b/init.c +1 −1 Original line number Diff line number Diff line Loading @@ -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); Loading arch/mips/mips-boards/generic/memory.c +2 −4 Original line number Diff line number Diff line Loading @@ -26,6 +26,7 @@ #include <asm/bootinfo.h> #include <asm/page.h> #include <asm/sections.h> #include <asm/mips-boards/prom.h> Loading @@ -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; Loading Loading @@ -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)); Loading arch/mips/mips-boards/sim/sim_mem.c +1 −3 Original line number Diff line number Diff line Loading @@ -21,6 +21,7 @@ #include <asm/bootinfo.h> #include <asm/page.h> #include <asm/sections.h> #include <asm/mips-boards/prom.h> Loading @@ -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; Loading Loading
arch/mips/dec/boot/decstation.c +2 −1 Original line number Diff line number Diff line /* * arch/mips/dec/decstation.c */ #include <asm/sections.h> #define RELOC #define INITRD Loading @@ -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) Loading
arch/mips/ite-boards/ivr/init.c +1 −1 Original line number Diff line number Diff line Loading @@ -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); Loading
arch/mips/ite-boards/qed-4n-s01b/init.c +1 −1 Original line number Diff line number Diff line Loading @@ -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); Loading
arch/mips/mips-boards/generic/memory.c +2 −4 Original line number Diff line number Diff line Loading @@ -26,6 +26,7 @@ #include <asm/bootinfo.h> #include <asm/page.h> #include <asm/sections.h> #include <asm/mips-boards/prom.h> Loading @@ -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; Loading Loading @@ -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)); Loading
arch/mips/mips-boards/sim/sim_mem.c +1 −3 Original line number Diff line number Diff line Loading @@ -21,6 +21,7 @@ #include <asm/bootinfo.h> #include <asm/page.h> #include <asm/sections.h> #include <asm/mips-boards/prom.h> Loading @@ -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; Loading