Skip to content

Commit

Permalink
um: make load_initrd() static, kill shared/initrd.h
Browse files Browse the repository at this point in the history
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Richard Weinberger <richard@nod.at>
  • Loading branch information
Al Viro authored and Richard Weinberger committed Nov 2, 2011
1 parent 0acdbbe commit 549e78d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 14 deletions.
12 changes: 0 additions & 12 deletions arch/um/include/shared/initrd.h

This file was deleted.

4 changes: 2 additions & 2 deletions arch/um/kernel/initrd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down Expand Up @@ -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;

Expand Down

0 comments on commit 549e78d

Please sign in to comment.