From: Pete P. <pp...@us...> - 2001-11-16 00:26:05
|
Update of /cvsroot/linux-mips/linux/arch/mips/mm In directory usw-pr-cvs1:/tmp/cvs-serv21271/arch/mips/mm Modified Files: tlb-r4k.c Log Message: PRID mask was wrong. Index: tlb-r4k.c =================================================================== RCS file: /cvsroot/linux-mips/linux/arch/mips/mm/tlb-r4k.c,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- tlb-r4k.c 2001/11/14 16:15:41 1.4 +++ tlb-r4k.c 2001/11/16 00:25:59 1.5 @@ -337,7 +337,7 @@ { unsigned int prid, config1; - prid = read_32bit_cp0_register(CP0_PRID) & 0xff0000; + prid = read_32bit_cp0_register(CP0_PRID) & 0xff00; if (prid == PRID_IMP_RM7000 || !(config & (1 << 31))) /* * Not a MIPS32 complianant CPU. Config 1 register not |