All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH]: config1 is only used by MIPS32 and MIPS64
@ 2002-12-18  1:42 Juan Quintela
  2002-12-18 16:29 ` Maciej W. Rozycki
  0 siblings, 1 reply; 2+ messages in thread
From: Juan Quintela @ 2002-12-18  1:42 UTC (permalink / raw)
  To: linux mips mailing list, Ralf Baechle


Hi
        subject told everything

Later, Juan.

Index: arch/mips/mm/tlb-r4k.c
===================================================================
RCS file: /home/cvs/linux/arch/mips/mm/tlb-r4k.c,v
retrieving revision 1.6.2.9
diff -u -r1.6.2.9 tlb-r4k.c
--- arch/mips/mm/tlb-r4k.c	4 Dec 2002 23:50:23 -0000	1.6.2.9
+++ arch/mips/mm/tlb-r4k.c	18 Dec 2002 00:49:19 -0000
@@ -334,8 +334,10 @@
 
 static void __init probe_tlb(unsigned long config)
 {
-	unsigned int prid, config1;
-
+	unsigned int prid;
+#if defined(CONFIG_CPU_MIPS32) || defined (CONFIG_CPU_MIPS64)
+	unsigned int config1;
+#endif
 	prid = read_c0_prid() & 0xff00;
 	if (prid == PRID_IMP_RM7000 || !(config & (1 << 31)))
 		/*


-- 
In theory, practice and theory are the same, but in practice they 
are different -- Larry McVoy

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-12-18 16:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-18  1:42 [PATCH]: config1 is only used by MIPS32 and MIPS64 Juan Quintela
2002-12-18 16:29 ` Maciej W. Rozycki

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.