Commit 549e78db authored by Al Viro's avatar Al Viro Committed by Richard Weinberger

um: make load_initrd() static, kill shared/initrd.h

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: default avatarRichard Weinberger <richard@nod.at>
parent 0acdbbeb
/*
* 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
...@@ -7,12 +7,12 @@ ...@@ -7,12 +7,12 @@
#include "linux/bootmem.h" #include "linux/bootmem.h"
#include "linux/initrd.h" #include "linux/initrd.h"
#include "asm/types.h" #include "asm/types.h"
#include "initrd.h"
#include "init.h" #include "init.h"
#include "os.h" #include "os.h"
/* Changed by uml_initrd_setup, which is a setup */ /* Changed by uml_initrd_setup, which is a setup */
static char *initrd __initdata = NULL; static char *initrd __initdata = NULL;
static int load_initrd(char *filename, void *buf, int size);
static int __init read_initrd(void) static int __init read_initrd(void)
{ {
...@@ -62,7 +62,7 @@ __uml_setup("initrd=", uml_initrd_setup, ...@@ -62,7 +62,7 @@ __uml_setup("initrd=", uml_initrd_setup,
" name of the file containing the image.\n\n" " 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; int fd, n;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment