patch-2.4.19 linux-2.4.19/include/asm-ppc/machdep.h

Next file: linux-2.4.19/include/asm-ppc/page.h
Previous file: linux-2.4.19/include/asm-ppc/ide.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.18/include/asm-ppc/machdep.h linux-2.4.19/include/asm-ppc/machdep.h
@@ -1,5 +1,5 @@
 /*
- * BK Id: SCCS/s.machdep.h 1.27 12/01/01 20:09:11 benh
+ * BK Id: SCCS/s.machdep.h 1.31 03/19/02 14:19:28 benh
  */
 #ifdef __KERNEL__
 #ifndef _PPC_MACHDEP_H
@@ -56,6 +56,9 @@
 	unsigned char 	(*nvram_read_val)(int addr);
 	void		(*nvram_write_val)(int addr, unsigned char val);
 
+	/* Called from prepare_namespace() */
+	void		(*discover_root)(void);
+
 	/* Tons of keyboard stuff. */
 	int		(*kbd_setkeycode)(unsigned int scancode,
 				unsigned int keycode);
@@ -113,7 +116,7 @@
 };
 
 extern struct machdep_calls ppc_md;
-extern char cmd_line[512];
+extern char cmd_line[];
 
 extern void setup_pci_ptrs(void);
 

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