patch-2.3.99-pre9 linux/arch/alpha/kernel/osf_sys.c

Next file: linux/arch/arm/Makefile
Previous file: linux/Makefile
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.99-pre8/linux/arch/alpha/kernel/osf_sys.c linux/arch/alpha/kernel/osf_sys.c
@@ -42,7 +42,6 @@
 #include <asm/hwrpb.h>
 #include <asm/processor.h>
 
-extern long do_sys_mount(char *, char *, char *, int, void *);
 extern int do_pipe(int *);
 
 extern asmlinkage int sys_swapon(const char *specialfile, int swap_flags);
@@ -377,7 +376,7 @@
 	retval = PTR_ERR(devname);
 	if (IS_ERR(devname))
 		goto out;
-	retval = do_sys_mount(devname, dirname, "ext2", flags, NULL);
+	retval = do_mount(devname, dirname, "ext2", flags, NULL);
 	putname(devname);
 out:
 	return retval;
@@ -396,7 +395,7 @@
 	retval = PTR_ERR(devname);
 	if (IS_ERR(devname))
 		goto out;
-	retval = do_sys_mount(devname, dirname, "iso9660", flags, NULL);
+	retval = do_mount(devname, dirname, "iso9660", flags, NULL);
 	putname(devname);
 out:
 	return retval;
@@ -409,7 +408,7 @@
 	if (copy_from_user(&tmp, args, sizeof(tmp)))
 		return -EFAULT;
 
-	return do_sys_mount("", dirname, "proc", flags, NULL);
+	return do_mount("", dirname, "proc", flags, NULL);
 }
 
 asmlinkage int osf_mount(unsigned long typenr, char *path, int flag, void *data)

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