patch-2.3.19 linux/fs/nfs/nfsroot.c

Next file: linux/fs/partitions/acorn.c
Previous file: linux/drivers/video/vgacon.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.18/linux/fs/nfs/nfsroot.c linux/fs/nfs/nfsroot.c
@@ -320,7 +320,7 @@
  *  Parse NFS server and directory information passed on the kernel
  *  command line.
  */
-void __init nfs_root_setup(char *line, int *ints)
+void __init nfs_root_setup(char *line)
 {
 	ROOT_DEV = MKDEV(UNNAMED_MAJOR, 255);
 	if (line[0] == '/' || line[0] == ',' || (line[0] >= '0' && line[0] <= '9')) {
@@ -335,6 +335,7 @@
 	root_nfs_parse_addr(nfs_root_name);
 }
 
+__setup("nfsroot=", nfs_root_setup);
 
 /***************************************************************************
 

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