Displaying 1 result from an estimated 1 matches for "crashk_end".
2007 Apr 11
1
[PATCH] export retained initrd in debugfs
...-0500
@@ -6,6 +6,7 @@
#include <linux/delay.h>
#include <linux/string.h>
#include <linux/syscalls.h>
+#include <linux/debugfs.h>
static __initdata char *message;
static void __init error(char *x)
@@ -519,7 +520,7 @@ static void __init free_initrd(void)
unsigned long crashk_end = (unsigned long)__va(crashk_res.end);
#endif
if (do_retain_initrd)
- goto skip;
+ return;
#ifdef CONFIG_KEXEC
/*
@@ -588,3 +589,29 @@ static int __init populate_rootfs(void)
return 0;
}
rootfs_initcall(populate_rootfs);
+
+#ifdef CONFIG_BLK_DEV_INITRD
+static struct debugfs_blob_wr...