linux-mips
[Top] [All Lists]

[PATCH] Avoid compile warnings on Sibyte using 2.6.10-rc3

To: linux-mips@linux-mips.org
Subject: [PATCH] Avoid compile warnings on Sibyte using 2.6.10-rc3
From: Manish Lachwani <mlachwani@mvista.com>
Date: Wed, 15 Dec 2004 15:56:32 -0800
Cc: ralf@linux-mips.org, mlachwani@mvista.com
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.4.1i
Hi Ralf,

The attached patch is needed to prevent the compilation warnings that
occur when using 2.6.10-rc3 on Sibyte. Please review 

Thanks
Manish Lachwani

--- include/asm-mips/cpu-features.h.orig        2004-12-15 11:18:23.000000000 
-0800
+++ include/asm-mips/cpu-features.h     2004-12-15 11:18:43.000000000 -0800
@@ -92,8 +92,10 @@
 #define cpu_icache_snoops_remote_store (cpu_data[0].icache.flags & 
MIPS_IC_SNOOPS_REMOTE)
 #endif
 #else
+#ifndef cpu_icache_snoops_remote_store
 #define cpu_icache_snoops_remote_store 1
 #endif
+#endif
 
 /*
  * Certain CPUs may throw bizarre exceptions if not the whole cacheline
<Prev in Thread] Current Thread [Next in Thread>