diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2007-03-01 11:56:43 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2007-03-04 19:02:37 +0000 |
commit | 36a885306fdf7bb557c773309c993bfb2d0d693c (patch) | |
tree | 643b246c90653c9451ff7fecff74a79c3de8042c /arch/mips/lib/promlib.c | |
parent | ca471c86043f4a8b01cba02ba2d3431fddcaf606 (diff) | |
download | kernel_goldelico_gta04-36a885306fdf7bb557c773309c993bfb2d0d693c.zip kernel_goldelico_gta04-36a885306fdf7bb557c773309c993bfb2d0d693c.tar.gz kernel_goldelico_gta04-36a885306fdf7bb557c773309c993bfb2d0d693c.tar.bz2 |
[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/lib/promlib.c')
-rw-r--r-- | arch/mips/lib/promlib.c | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/arch/mips/lib/promlib.c b/arch/mips/lib/promlib.c deleted file mode 100644 index dddfe98..0000000 --- a/arch/mips/lib/promlib.c +++ /dev/null @@ -1,24 +0,0 @@ -#include <stdarg.h> -#include <linux/kernel.h> - -extern void prom_putchar(char); - -void prom_printf(char *fmt, ...) -{ - va_list args; - char ppbuf[1024]; - char *bptr; - - va_start(args, fmt); - vsprintf(ppbuf, fmt, args); - - bptr = ppbuf; - - while (*bptr != 0) { - if (*bptr == '\n') - prom_putchar('\r'); - - prom_putchar(*bptr++); - } - va_end(args); -} |