diff options
| author | David Woodhouse <David.Woodhouse@intel.com> | 2008-10-13 12:13:56 -0400 |
|---|---|---|
| committer | David Woodhouse <David.Woodhouse@intel.com> | 2008-10-13 12:13:56 -0400 |
| commit | e758936e02700ff88a0b08b722a3847b95283ef2 (patch) | |
| tree | 50c919bef1b459a778b85159d5929de95b6c4a01 /init | |
| parent | 239cfbde1f5843c4a24199f117d5f67f637d72d5 (diff) | |
| parent | 4480f15b3306f43bbb0310d461142b4e897ca45b (diff) | |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
Conflicts:
include/asm-x86/statfs.h
Diffstat (limited to 'init')
| -rw-r--r-- | init/do_mounts.c | 4 | ||||
| -rw-r--r-- | init/main.c | 9 |
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: | |||
| 263 | printk("Please append a correct \"root=\" boot option; here are the available partitions:\n"); | 263 | printk("Please append a correct \"root=\" boot option; here are the available partitions:\n"); |
| 264 | 264 | ||
| 265 | printk_all_partitions(); | 265 | printk_all_partitions(); |
| 266 | #ifdef CONFIG_DEBUG_BLOCK_EXT_DEVT | ||
| 267 | printk("DEBUG_BLOCK_EXT_DEVT is enabled, you need to specify " | ||
| 268 | "explicit textual name for \"root=\" boot option.\n"); | ||
| 269 | #endif | ||
| 266 | panic("VFS: Unable to mount root fs on %s", b); | 270 | panic("VFS: Unable to mount root fs on %s", b); |
| 267 | } | 271 | } |
| 268 | 272 | ||
diff --git a/init/main.c b/init/main.c index f6f7042331dc..3820323c4c84 100644 --- a/init/main.c +++ b/init/main.c | |||
| @@ -708,7 +708,7 @@ int do_one_initcall(initcall_t fn) | |||
| 708 | int result; | 708 | int result; |
| 709 | 709 | ||
| 710 | if (initcall_debug) { | 710 | if (initcall_debug) { |
| 711 | print_fn_descriptor_symbol("calling %s\n", fn); | 711 | printk("calling %pF\n", fn); |
| 712 | t0 = ktime_get(); | 712 | t0 = ktime_get(); |
| 713 | } | 713 | } |
| 714 | 714 | ||
| @@ -718,8 +718,8 @@ int do_one_initcall(initcall_t fn) | |||
| 718 | t1 = ktime_get(); | 718 | t1 = ktime_get(); |
| 719 | delta = ktime_sub(t1, t0); | 719 | delta = ktime_sub(t1, t0); |
| 720 | 720 | ||
| 721 | print_fn_descriptor_symbol("initcall %s", fn); | 721 | printk("initcall %pF returned %d after %Ld msecs\n", |
| 722 | printk(" returned %d after %Ld msecs\n", result, | 722 | fn, result, |
| 723 | (unsigned long long) delta.tv64 >> 20); | 723 | (unsigned long long) delta.tv64 >> 20); |
| 724 | } | 724 | } |
| 725 | 725 | ||
| @@ -737,8 +737,7 @@ int do_one_initcall(initcall_t fn) | |||
| 737 | local_irq_enable(); | 737 | local_irq_enable(); |
| 738 | } | 738 | } |
| 739 | if (msgbuf[0]) { | 739 | if (msgbuf[0]) { |
| 740 | print_fn_descriptor_symbol(KERN_WARNING "initcall %s", fn); | 740 | printk("initcall %pF returned with %s\n", fn, msgbuf); |
| 741 | printk(" returned with %s\n", msgbuf); | ||
| 742 | } | 741 | } |
| 743 | 742 | ||
| 744 | return result; | 743 | return result; |
