patch-2.4.22 linux-2.4.22/arch/ppc/boot/pmac/start.c
Next file: linux-2.4.22/arch/ppc/boot/prep/Makefile
Previous file: linux-2.4.22/arch/ppc/boot/pmac/coffmain.c
Back to the patch index
Back to the overall index
-  Lines: 18
-  Date:
2003-08-25 04:44:40.000000000 -0700
-  Orig file: 
linux-2.4.21/arch/ppc/boot/pmac/start.c
-  Orig date: 
2003-06-13 07:51:31.000000000 -0700
diff -urN linux-2.4.21/arch/ppc/boot/pmac/start.c linux-2.4.22/arch/ppc/boot/pmac/start.c
@@ -11,7 +11,7 @@
 extern int strlen(const char *s);
 extern void boot(int a1, int a2, void *prom);
 
-int (*prom)();
+int (*prom)(void *args);
 
 void *chosen_handle;
 void *stdin;
@@ -26,7 +26,7 @@
 void
 start(int a1, int a2, void *promptr)
 {
-    prom = (int (*)()) promptr;
+    prom = (int (*)(void *)) promptr;
     chosen_handle = finddevice("/chosen");
     if (chosen_handle == (void *) -1)
 	exit();
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)