diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2007-03-01 06:56:43 -0500 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2007-03-04 14:02:37 -0500 |
commit | 36a885306fdf7bb557c773309c993bfb2d0d693c (patch) | |
tree | 643b246c90653c9451ff7fecff74a79c3de8042c /arch/mips/sibyte/cfe | |
parent | ca471c86043f4a8b01cba02ba2d3431fddcaf606 (diff) |
[MIPS] Fix and cleanup the mess that a dozen prom_printf variants are.
early_printk is a so much saner thing.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/sibyte/cfe')
-rw-r--r-- | arch/mips/sibyte/cfe/setup.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/mips/sibyte/cfe/setup.c b/arch/mips/sibyte/cfe/setup.c index 9e6099e69622..ae4a92c3e529 100644 --- a/arch/mips/sibyte/cfe/setup.c +++ b/arch/mips/sibyte/cfe/setup.c | |||
@@ -221,10 +221,10 @@ static int __init initrd_setup(char *str) | |||
221 | goto fail; | 221 | goto fail; |
222 | } | 222 | } |
223 | initrd_end = initrd_start + initrd_size; | 223 | initrd_end = initrd_start + initrd_size; |
224 | prom_printf("Found initrd of %lx@%lx\n", initrd_size, initrd_start); | 224 | printk("Found initrd of %lx@%lx\n", initrd_size, initrd_start); |
225 | return 1; | 225 | return 1; |
226 | fail: | 226 | fail: |
227 | prom_printf("Bad initrd argument. Disabling initrd\n"); | 227 | printk("Bad initrd argument. Disabling initrd\n"); |
228 | initrd_start = 0; | 228 | initrd_start = 0; |
229 | initrd_end = 0; | 229 | initrd_end = 0; |
230 | return 1; | 230 | return 1; |
@@ -281,7 +281,7 @@ void __init prom_init(void) | |||
281 | } | 281 | } |
282 | if (cfe_eptseal != CFE_EPTSEAL) { | 282 | if (cfe_eptseal != CFE_EPTSEAL) { |
283 | /* too early for panic to do any good */ | 283 | /* too early for panic to do any good */ |
284 | prom_printf("CFE's entrypoint seal doesn't match. Spinning."); | 284 | printk("CFE's entrypoint seal doesn't match. Spinning."); |
285 | while (1) ; | 285 | while (1) ; |
286 | } | 286 | } |
287 | cfe_init(cfe_handle, cfe_ept); | 287 | cfe_init(cfe_handle, cfe_ept); |
@@ -303,7 +303,7 @@ void __init prom_init(void) | |||
303 | } else { | 303 | } else { |
304 | /* The loader should have set the command line */ | 304 | /* The loader should have set the command line */ |
305 | /* too early for panic to do any good */ | 305 | /* too early for panic to do any good */ |
306 | prom_printf("LINUX_CMDLINE not defined in cfe."); | 306 | printk("LINUX_CMDLINE not defined in cfe."); |
307 | while (1) ; | 307 | while (1) ; |
308 | } | 308 | } |
309 | } | 309 | } |