patch-2.2.19 linux/arch/ppc/kernel/prom.c

Next file: linux/arch/ppc/kernel/sleep.S
Previous file: linux/arch/ppc/kernel/ppc_ksyms.c
Back to the patch index
Back to the overall index

diff -u --new-file --recursive --exclude-from /usr/src/exclude v2.2.18/arch/ppc/kernel/prom.c linux/arch/ppc/kernel/prom.c
@@ -668,8 +668,8 @@
 	}
 	
 #endif	
-	/* If OpenFirmware version >= 3, then use quiesce call */
-	if (RELOC(prom_version) >= 3) {
+	/* If PowerMac, then use quiesce call */
+	if (!chrp) {
 	    prom_print(RELOC("Calling quiesce ...\n"));
 	    call_prom(RELOC("quiesce"), 0, 0);
 	    offset = reloc_offset();

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)