diff options
author | Michael Ellerman <michael@ellerman.id.au> | 2009-03-04 20:02:01 +0100 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-03-11 07:11:33 +0100 |
commit | e7943fbbfdb6eef03c003b374de1f802cc14f02a (patch) | |
tree | 7cb30fc4a1caa9f4d43273c4bdd75d147209abeb /arch/powerpc/kernel/prom_init.c | |
parent | powerpc/oprofile: Enable support for ppc750 processors (diff) | |
download | linux-e7943fbbfdb6eef03c003b374de1f802cc14f02a.tar.xz linux-e7943fbbfdb6eef03c003b374de1f802cc14f02a.zip |
powerpc: Print linux_banner in prom_init
So at least you can see what kernel you're booting if you die
before the kernel prints it mid-way through start_kernel().
Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/kernel/prom_init.c')
-rw-r--r-- | arch/powerpc/kernel/prom_init.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/prom_init.c b/arch/powerpc/kernel/prom_init.c index 7f1b33d5e30d..4d5ebb46b2c4 100644 --- a/arch/powerpc/kernel/prom_init.c +++ b/arch/powerpc/kernel/prom_init.c @@ -2283,6 +2283,8 @@ unsigned long __init prom_init(unsigned long r3, unsigned long r4, */ prom_init_stdout(); + prom_printf("Preparing to boot %s", PTRRELOC((char *)linux_banner)); + /* * Get default machine type. At this point, we do not differentiate * between pSeries SMP and pSeries LPAR |