From aea27b2e18d69af87e673972246e66657b4fa274 Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Fri, 19 Nov 1999 23:29:05 +0000 Subject: 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. --- arch/mips64/arc/console.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'arch/mips64/arc/console.c') 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); -- cgit v1.2.3