diff options
author | Robin Getz <robin.getz@analog.com> | 2009-07-06 18:53:19 +0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-09-17 05:31:43 +0400 |
commit | 3f871feaf3390c6d6e578818f867917c2e4738a2 (patch) | |
tree | 3b7ebc72793903361bb4b108bd829b21ede3fc01 /arch/blackfin/kernel/setup.c | |
parent | 53e18df745b6f833df07ead62ded09ebae3b0303 (diff) | |
download | linux-3f871feaf3390c6d6e578818f867917c2e4738a2.tar.xz |
Blackfin: add an early shadow console
Add a memory based shadow console to keep a copy of the printk buffer in a
location which can be found externally. This allows bootloaders to locate
and utilize the log buffer in case of silent (early/resume/etc...) crashes.
Signed-off-by: Robin Getz <robin.getz@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin/kernel/setup.c')
-rw-r--r-- | arch/blackfin/kernel/setup.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/blackfin/kernel/setup.c b/arch/blackfin/kernel/setup.c index 6dbf21930a91..3974764acd2c 100644 --- a/arch/blackfin/kernel/setup.c +++ b/arch/blackfin/kernel/setup.c @@ -810,6 +810,8 @@ void __init setup_arch(char **cmdline_p) { unsigned long sclk, cclk; + enable_shadow_console(); + /* Check to make sure we are running on the right processor */ if (unlikely(CPUID != bfin_cpuid())) printk(KERN_ERR "ERROR: Not running on ADSP-%s: unknown CPUID 0x%04x Rev 0.%d\n", |