summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorJames Morris <jmorris@namei.org>2008-10-13 21:51:44 +1100
committerJames Morris <jmorris@namei.org>2008-10-13 21:51:44 +1100
commitcf7208a918ee58d5a5d739066e164dd292b88663 (patch)
treeb0e2a86387cf904cd1d4b8b943d526ad1f3bb2d6 /init
parent117bf7d55de50f77823bb0389246b242001826b5 (diff)
parent4480f15b3306f43bbb0310d461142b4e897ca45b (diff)
Merge branch 'master' into next-creds-subsys
Conflicts: fs/ext4/ialloc.c Manually resolved conflict w/ new creds API, also fixed up fs/ext4/balloc.c.
Diffstat (limited to 'init')
-rw-r--r--init/do_mounts.c4
-rw-r--r--init/main.c9
2 files changed, 8 insertions, 5 deletions
diff --git a/init/do_mounts.c b/init/do_mounts.c
index 3715feb8446d..d055b1914c3d 100644
--- a/init/do_mounts.c
+++ b/init/do_mounts.c
@@ -263,6 +263,10 @@ retry:
printk("Please append a correct \"root=\" boot option; here are the available partitions:\n");
printk_all_partitions();
+#ifdef CONFIG_DEBUG_BLOCK_EXT_DEVT
+ printk("DEBUG_BLOCK_EXT_DEVT is enabled, you need to specify "
+ "explicit textual name for \"root=\" boot option.\n");
+#endif
panic("VFS: Unable to mount root fs on %s", b);
}
diff --git a/init/main.c b/init/main.c
index 7ca7b26cf745..7d2fbb053ec6 100644
--- a/init/main.c
+++ b/init/main.c
@@ -709,7 +709,7 @@ int do_one_initcall(initcall_t fn)
int result;
if (initcall_debug) {
- print_fn_descriptor_symbol("calling %s\n", fn);
+ printk("calling %pF\n", fn);
t0 = ktime_get();
}
@@ -719,8 +719,8 @@ int do_one_initcall(initcall_t fn)
t1 = ktime_get();
delta = ktime_sub(t1, t0);
- print_fn_descriptor_symbol("initcall %s", fn);
- printk(" returned %d after %Ld msecs\n", result,
+ printk("initcall %pF returned %d after %Ld msecs\n",
+ fn, result,
(unsigned long long) delta.tv64 >> 20);
}
@@ -738,8 +738,7 @@ int do_one_initcall(initcall_t fn)
local_irq_enable();
}
if (msgbuf[0]) {
- print_fn_descriptor_symbol(KERN_WARNING "initcall %s", fn);
- printk(" returned with %s\n", msgbuf);
+ printk("initcall %pF returned with %s\n", fn, msgbuf);
}
return result;