aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin/include/asm
diff options
context:
space:
mode:
authorRobin Getz <robin.getz@analog.com>2009-07-06 10:53:19 -0400
committerMike Frysinger <vapier@gentoo.org>2009-09-16 21:31:43 -0400
commit3f871feaf3390c6d6e578818f867917c2e4738a2 (patch)
tree3b7ebc72793903361bb4b108bd829b21ede3fc01 /arch/blackfin/include/asm
parent53e18df745b6f833df07ead62ded09ebae3b0303 (diff)
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/include/asm')
-rw-r--r--arch/blackfin/include/asm/early_printk.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/blackfin/include/asm/early_printk.h b/arch/blackfin/include/asm/early_printk.h
index 110f1c1f845c..f5b6b7d972e8 100644
--- a/arch/blackfin/include/asm/early_printk.h
+++ b/arch/blackfin/include/asm/early_printk.h
@@ -23,6 +23,8 @@
23 23
24#ifdef CONFIG_EARLY_PRINTK 24#ifdef CONFIG_EARLY_PRINTK
25extern int setup_early_printk(char *); 25extern int setup_early_printk(char *);
26extern void enable_shadow_console(void);
26#else 27#else
27#define setup_early_printk(fmt) do { } while (0) 28#define setup_early_printk(fmt) do { } while (0)
29#define enable_shadow_console(fmt) do { } while (0)
28#endif /* CONFIG_EARLY_PRINTK */ 30#endif /* CONFIG_EARLY_PRINTK */