summaryrefslogtreecommitdiffstats
path: root/arch/mips64/arc/console.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>1999-11-19 23:29:05 +0000
committerRalf Baechle <ralf@linux-mips.org>1999-11-19 23:29:05 +0000
commitaea27b2e18d69af87e673972246e66657b4fa274 (patch)
treee3822f273e8a28fea1faf30151db0224ad3332e4 /arch/mips64/arc/console.c
parent0458ce25ec4e796cc0ac4421e0f2ad2d1c60688e (diff)
The ARC code hasn't changed in quite a while, so commit it ...
Until I I merge with even newer kernel releases from Linus this code limits the MIPS64 kernel to a maximum of 64mb RAM on Indys. If I wouldn't do so, on startup kernel internal structures would collide with PROM memory. Solving this for real doesn't to make sense for now as a shiny new bootmem allocator is available in newer kernels.
Diffstat (limited to 'arch/mips64/arc/console.c')
-rw-r--r--arch/mips64/arc/console.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/mips64/arc/console.c b/arch/mips64/arc/console.c
index 61a5296e4..0f087e912 100644
--- a/arch/mips64/arc/console.c
+++ b/arch/mips64/arc/console.c
@@ -1,4 +1,4 @@
-/* $Id$
+/* $Id: console.c,v 1.3 1999/10/19 20:51:44 ralf Exp $
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
@@ -13,16 +13,16 @@
void __init prom_putchar(char c)
{
- long cnt;
- char it = c;
+ ULONG cnt;
+ CHAR it = c;
ArcWrite(1, &it, 1, &cnt);
}
char __init prom_getchar(void)
{
- long cnt;
- char c;
+ ULONG cnt;
+ CHAR c;
ArcRead(0, &c, 1, &cnt);