summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2003-04-20 00:49:38 -0700
committerChristoph Hellwig <hch@lst.de>2003-04-20 00:49:38 -0700
commit4b28bcb37986cf817cbfa38f1fd82f320df8f357 (patch)
treef7da349a71792d0443e404ea8e6e591cb311a918 /init
parent835f446af6cb61e3bf3fec5194da9d9a8b1403e4 (diff)
[PATCH] initrd.h
split the initrd stuff out of blk.h, it's only needed in the boot code and the ramdisk driver.
Diffstat (limited to 'init')
-rw-r--r--init/do_mounts_rd.c1
-rw-r--r--init/main.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/init/do_mounts_rd.c b/init/do_mounts_rd.c
index be82c3fb89f1..0057b1c6f19b 100644
--- a/init/do_mounts_rd.c
+++ b/init/do_mounts_rd.c
@@ -4,6 +4,7 @@
#include <linux/minix_fs.h>
#include <linux/ext2_fs.h>
#include <linux/romfs_fs.h>
+#include <linux/initrd.h>
#include "do_mounts.h"
diff --git a/init/main.c b/init/main.c
index 8154b8b6ec35..edb701549dff 100644
--- a/init/main.c
+++ b/init/main.c
@@ -24,6 +24,7 @@
#include <linux/init.h>
#include <linux/smp_lock.h>
#include <linux/blk.h>
+#include <linux/initrd.h>
#include <linux/hdreg.h>
#include <linux/bootmem.h>
#include <linux/tty.h>