Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 83441
b: refs/heads/master
c: b25b781
h: refs/heads/master
i:
  83439: 891af32
v: v3
  • Loading branch information
Robert P. J. Day authored and Linus Torvalds committed Feb 6, 2008
1 parent 0be0af9 commit 191a8d6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d99c4f6b13b3149bc83703ab1493beaeaaaf8a2d
refs/heads/master: b25b7819e51f388f8c8d7ae4679a658895dc67cc
5 changes: 0 additions & 5 deletions trunk/init/initramfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,6 @@ static int __init retain_initrd_param(char *str)
__setup("retain_initrd", retain_initrd_param);

extern char __initramfs_start[], __initramfs_end[];
#ifdef CONFIG_BLK_DEV_INITRD
#include <linux/initrd.h>
#include <linux/kexec.h>

Expand Down Expand Up @@ -539,15 +538,12 @@ static void __init free_initrd(void)
initrd_end = 0;
}

#endif

static int __init populate_rootfs(void)
{
char *err = unpack_to_rootfs(__initramfs_start,
__initramfs_end - __initramfs_start, 0);
if (err)
panic(err);
#ifdef CONFIG_BLK_DEV_INITRD
if (initrd_start) {
#ifdef CONFIG_BLK_DEV_RAM
int fd;
Expand Down Expand Up @@ -579,7 +575,6 @@ static int __init populate_rootfs(void)
free_initrd();
#endif
}
#endif
return 0;
}
rootfs_initcall(populate_rootfs);

0 comments on commit 191a8d6

Please sign in to comment.