summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/setup-common.c
diff options
context:
space:
mode:
authorDave Carroll <dcarroll@astekcorp.com>2011-06-18 09:36:40 +0200
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2011-06-30 07:28:05 +0200
commita9c0f41b3a64955fd6f4e9d66ae1df1cbdee0cd0 (patch)
tree9dcc389761a7fe08f06052bc979563158fc268d4 /arch/powerpc/kernel/setup-common.c
parentpowerpc: Move free_initmem to common code (diff)
downloadlinux-a9c0f41b3a64955fd6f4e9d66ae1df1cbdee0cd0.tar.xz
linux-a9c0f41b3a64955fd6f4e9d66ae1df1cbdee0cd0.zip
powerpc: Add printk companion for ppc_md.progress
This patch adds a printk companion to replace the udbg progress function when initmem is freed. Suggested-by: Milton Miller <miltonm@bga.com> Suggested-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Dave Carroll <dcarroll@astekcorp.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/kernel/setup-common.c')
-rw-r--r--arch/powerpc/kernel/setup-common.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/setup-common.c b/arch/powerpc/kernel/setup-common.c
index 79fca2651b65..e053b1641de3 100644
--- a/arch/powerpc/kernel/setup-common.c
+++ b/arch/powerpc/kernel/setup-common.c
@@ -704,6 +704,11 @@ static int powerpc_debugfs_init(void)
arch_initcall(powerpc_debugfs_init);
#endif
+void ppc_printk_progress(char *s, unsigned short hex)
+{
+ pr_info("%s\n", s);
+}
+
static int ppc_dflt_bus_notify(struct notifier_block *nb,
unsigned long action, void *data)
{