summaryrefslogtreecommitdiffstats
path: root/arch/um/kernel/initrd.c
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2011-08-18 21:06:59 +0200
committerRichard Weinberger <richard@nod.at>2011-11-02 14:15:06 +0100
commit549e78db9438374cb6a58201cc5f2194b222688f (patch)
treef3861cd67f320e47b09b4aab321a6432b1a60c2d /arch/um/kernel/initrd.c
parentum: bury unused macros around ptrace.h (diff)
downloadlinux-549e78db9438374cb6a58201cc5f2194b222688f.tar.xz
linux-549e78db9438374cb6a58201cc5f2194b222688f.zip
um: make load_initrd() static, kill shared/initrd.h
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch/um/kernel/initrd.c')
-rw-r--r--arch/um/kernel/initrd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/um/kernel/initrd.c b/arch/um/kernel/initrd.c
index d386c75c88eb..10cc18f729fd 100644
--- a/arch/um/kernel/initrd.c
+++ b/arch/um/kernel/initrd.c
@@ -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)
{
@@ -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;