patch-2.3.50 linux/arch/ppc/kernel/feature.c

Next file: linux/arch/ppc/kernel/head.S
Previous file: linux/arch/ppc/kernel/Makefile
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.49/linux/arch/ppc/kernel/feature.c linux/arch/ppc/kernel/feature.c
@@ -154,6 +154,9 @@
 {
 	struct device_node *np;
 
+	if (_machine != _MACH_Pmac)
+		return;
+
 	np = find_devices("mac-io");
 	while (np != NULL) {
 		/* KeyLargo contains several (5 ?) FCR registers in mac-io,

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