patch-2.2.17 linux/arch/ppc/kernel/ppc_htab.c
Next file: linux/arch/ppc/kernel/ppc_ksyms.c
Previous file: linux/arch/ppc/kernel/ppc_asm.tmpl
Back to the patch index
Back to the overall index
-  Lines: 10
-  Date:
Mon Sep  4 18:39:16 2000
-  Orig file: 
v2.2.16/arch/ppc/kernel/ppc_htab.c
-  Orig date: 
Mon Sep  4 18:37:47 2000
diff -u --recursive --new-file v2.2.16/arch/ppc/kernel/ppc_htab.c linux/arch/ppc/kernel/ppc_htab.c
@@ -547,7 +547,8 @@
 		"0.5", "1.0", "(reserved2)", "(reserved3)"
 	};
 
-	if ( (_get_PVR() >> 16) != 8) return -EFAULT;
+	if ( ((_get_PVR() >> 16) != 8) && ((_get_PVR() >> 16) != 12))
+		return -EFAULT;
 	
 	if ( /*!table->maxlen ||*/ (filp->f_pos && !write)) {
 		*lenp = 0;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)