Loading arch/um/include/shared/initrd.hdeleted 100644 → 0 +0 −12 Original line number Diff line number Diff line /* * Copyright (C) 2000 Jeff Dike (jdike@karaya.com) * Licensed under the GPL */ #ifndef __INITRD_USER_H__ #define __INITRD_USER_H__ extern int load_initrd(char *filename, void *buf, int size); #endif arch/um/kernel/initrd.c +2 −2 Original line number Diff line number Diff line Loading @@ -7,12 +7,12 @@ #include "linux/bootmem.h" #include "linux/initrd.h" #include "asm/types.h" #include "initrd.h" #include "init.h" #include "os.h" /* Changed by uml_initrd_setup, which is a setup */ static char *initrd __initdata = NULL; static int load_initrd(char *filename, void *buf, int size); static int __init read_initrd(void) { Loading Loading @@ -62,7 +62,7 @@ __uml_setup("initrd=", uml_initrd_setup, " name of the file containing the image.\n\n" ); int load_initrd(char *filename, void *buf, int size) static int load_initrd(char *filename, void *buf, int size) { int fd, n; Loading Loading
arch/um/include/shared/initrd.hdeleted 100644 → 0 +0 −12 Original line number Diff line number Diff line /* * Copyright (C) 2000 Jeff Dike (jdike@karaya.com) * Licensed under the GPL */ #ifndef __INITRD_USER_H__ #define __INITRD_USER_H__ extern int load_initrd(char *filename, void *buf, int size); #endif
arch/um/kernel/initrd.c +2 −2 Original line number Diff line number Diff line Loading @@ -7,12 +7,12 @@ #include "linux/bootmem.h" #include "linux/initrd.h" #include "asm/types.h" #include "initrd.h" #include "init.h" #include "os.h" /* Changed by uml_initrd_setup, which is a setup */ static char *initrd __initdata = NULL; static int load_initrd(char *filename, void *buf, int size); static int __init read_initrd(void) { Loading Loading @@ -62,7 +62,7 @@ __uml_setup("initrd=", uml_initrd_setup, " name of the file containing the image.\n\n" ); int load_initrd(char *filename, void *buf, int size) static int load_initrd(char *filename, void *buf, int size) { int fd, n; Loading