Pull percpu-dtc into release branch
[pandora-kernel.git] / arch / mips / dec / prom / console.c
1 /*
2  *      arch/mips/dec/prom/console.c
3  *
4  *      DECstation PROM-based early console support.
5  *
6  *      Copyright (C) 2004  Maciej W. Rozycki
7  *
8  *      This program is free software; you can redistribute it and/or
9  *      modify it under the terms of the GNU General Public License
10  *      as published by the Free Software Foundation; either version
11  *      2 of the License, or (at your option) any later version.
12  */
13 #include <linux/console.h>
14 #include <linux/init.h>
15 #include <linux/kernel.h>
16
17 #include <asm/dec/prom.h>
18
19 void prom_putchar(char c)
20 {
21         char s[2];
22
23         s[0] = c;
24         s[1] = '\0';
25
26         prom_printf( s);
27 }