[PATCH]: config1 is only used by MIPS32 and MIPS64

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux