linux-mips
[Top] [All Lists]

c-tx39.c build fix

To: linux-mips@linux-mips.org, ralf@linux-mips.org
Subject: c-tx39.c build fix
From: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Date: Mon, 28 Apr 2003 19:13:04 +0900 (JST)
Cc: nemoto@toshiba-tops.co.jp
Organization: TOSHIBA Personal Computer System Corporation
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
Here is a patch to fix build error of c-tx39.c.  Please apply.  Thank you.

diff -u linux-mips-cvs/arch/mips/mm/c-tx39.c linux.new/arch/mips/mm/
--- linux-mips-cvs/arch/mips/mm/c-tx39.c        Mon Apr 28 09:44:52 2003
+++ linux.new/arch/mips/mm/c-tx39.c     Mon Apr 28 19:07:45 2003
@@ -26,7 +26,8 @@
 /* For R3000 cores with R4000 style caches */
 static unsigned long icache_size, dcache_size;         /* Size in bytes */
 static unsigned long icache_way_size, dcache_way_size; /* Size divided by ways 
*/
-extern long scache_size;
+#define scache_size 0
+#define scache_way_size 0
 
 #include <asm/r4kcache.h>
 
---
Atsushi Nemoto

<Prev in Thread] Current Thread [Next in Thread>