: config1 is only used by MIPS32 and MIPS64
PATCH 1/1 : config1 is only used by MIPS32 and MIPS64
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
mips/mm/tlb-r4k.c +4 -2
@@ -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 )))/*
Signature · 2 lines
In theory, practice and theory are the same, but in practice they are different -- Larry McVoy
Quoted 1 line · Juan Quintela
subject told everything
The code is broken anyway -- it shouldn't use #ifdef in the first place
-- that's what PRId is there for.
Signature · 3 lines
+ Maciej W. Rozycki, Technical University of Gdansk, Poland + +--------------------------------------------------------------+ + e-mail: [email protected], PGP key available +