patch-2.4.26 linux-2.4.26/arch/ppc/kernel/setup.c

Next file: linux-2.4.26/arch/ppc/kernel/traps.c
Previous file: linux-2.4.26/arch/ppc/kernel/ppc_ksyms.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.25/arch/ppc/kernel/setup.c linux-2.4.26/arch/ppc/kernel/setup.c
@@ -603,6 +603,12 @@
 	do_init_bootmem();
 	if ( ppc_md.progress ) ppc_md.progress("setup_arch: bootmem", 0x3eab);
 
+#ifdef CONFIG_PPC_OCP
+	/* Initialize OCP device list */
+	ocp_early_init();
+	if ( ppc_md.progress ) ppc_md.progress("setup_arch: ocp_early_init", 0x3eab);
+#endif
+
 	ppc_md.setup_arch();
 	if ( ppc_md.progress ) ppc_md.progress("arch: exit", 0x3eab);
 

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