diff options
author | Dave Carroll <dcarroll@astekcorp.com> | 2011-06-18 03:36:40 -0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2011-06-30 01:28:05 -0400 |
commit | a9c0f41b3a64955fd6f4e9d66ae1df1cbdee0cd0 (patch) | |
tree | 9dcc389761a7fe08f06052bc979563158fc268d4 /arch/powerpc/mm/mem.c | |
parent | 2773fcc8c48b947c997ff345f3e453917883cdb5 (diff) |
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/mm/mem.c')
-rw-r--r-- | arch/powerpc/mm/mem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/mm/mem.c b/arch/powerpc/mm/mem.c index e9379ce6f3be..a3841bb75cbb 100644 --- a/arch/powerpc/mm/mem.c +++ b/arch/powerpc/mm/mem.c | |||
@@ -387,7 +387,7 @@ void free_initmem(void) | |||
387 | { | 387 | { |
388 | unsigned long addr; | 388 | unsigned long addr; |
389 | 389 | ||
390 | ppc_md.progress = NULL; | 390 | ppc_md.progress = ppc_printk_progress; |
391 | 391 | ||
392 | addr = (unsigned long)__init_begin; | 392 | addr = (unsigned long)__init_begin; |
393 | for (; addr < (unsigned long)__init_end; addr += PAGE_SIZE) { | 393 | for (; addr < (unsigned long)__init_end; addr += PAGE_SIZE) { |