diff options
author | Kumar Gala <galak@gate.crashing.org> | 2005-12-20 17:37:07 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-01-08 23:33:50 -0500 |
commit | be6b843918394067e93ebbacb834245251a6f18a (patch) | |
tree | d8d801260e56c2d07ca20ec943cae55e319bfb36 /arch | |
parent | b580d46ce833f6bdc6a5602f4f0efb1d9c488ed6 (diff) |
[PATCH] powerpc: added a udbg_progress
Added a common udbg_progress for use by ppc_md.progress()
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/powerpc/kernel/udbg.c | 6 | ||||
-rw-r--r-- | arch/powerpc/platforms/powermac/setup.c | 8 |
2 files changed, 7 insertions, 7 deletions
diff --git a/arch/powerpc/kernel/udbg.c b/arch/powerpc/kernel/udbg.c index 9567d9474c80..558c1ceb2b93 100644 --- a/arch/powerpc/kernel/udbg.c +++ b/arch/powerpc/kernel/udbg.c | |||
@@ -90,6 +90,12 @@ void udbg_printf(const char *fmt, ...) | |||
90 | va_end(args); | 90 | va_end(args); |
91 | } | 91 | } |
92 | 92 | ||
93 | void __init udbg_progress(char *s, unsigned short hex) | ||
94 | { | ||
95 | udbg_puts(s); | ||
96 | udbg_puts("\n"); | ||
97 | } | ||
98 | |||
93 | /* | 99 | /* |
94 | * Early boot console based on udbg | 100 | * Early boot console based on udbg |
95 | */ | 101 | */ |
diff --git a/arch/powerpc/platforms/powermac/setup.c b/arch/powerpc/platforms/powermac/setup.c index 1daa5a06e9ea..e5a5bdbdda7a 100644 --- a/arch/powerpc/platforms/powermac/setup.c +++ b/arch/powerpc/platforms/powermac/setup.c | |||
@@ -639,12 +639,6 @@ static void __init pmac_init_early(void) | |||
639 | #endif | 639 | #endif |
640 | } | 640 | } |
641 | 641 | ||
642 | static void __init pmac_progress(char *s, unsigned short hex) | ||
643 | { | ||
644 | udbg_puts(s); | ||
645 | udbg_puts("\n"); | ||
646 | } | ||
647 | |||
648 | /* | 642 | /* |
649 | * pmac has no legacy IO, anything calling this function has to | 643 | * pmac has no legacy IO, anything calling this function has to |
650 | * fail or bad things will happen | 644 | * fail or bad things will happen |
@@ -763,7 +757,7 @@ struct machdep_calls __initdata pmac_md = { | |||
763 | .calibrate_decr = pmac_calibrate_decr, | 757 | .calibrate_decr = pmac_calibrate_decr, |
764 | .feature_call = pmac_do_feature_call, | 758 | .feature_call = pmac_do_feature_call, |
765 | .check_legacy_ioport = pmac_check_legacy_ioport, | 759 | .check_legacy_ioport = pmac_check_legacy_ioport, |
766 | .progress = pmac_progress, | 760 | .progress = udbg_progress, |
767 | #ifdef CONFIG_PPC64 | 761 | #ifdef CONFIG_PPC64 |
768 | .pci_probe_mode = pmac_pci_probe_mode, | 762 | .pci_probe_mode = pmac_pci_probe_mode, |
769 | .idle_loop = native_idle, | 763 | .idle_loop = native_idle, |