patch-1.3.28 linux/arch/alpha/kernel/osf_sys.c
Next file: linux/arch/alpha/kernel/process.c
Previous file: linux/arch/alpha/kernel/irq.c
Back to the patch index
Back to the overall index
- Lines: 36
- Date:
Mon Sep 18 08:54:06 1995
- Orig file:
v1.3.27/linux/arch/alpha/kernel/osf_sys.c
- Orig date:
Thu Jul 27 10:13:16 1995
diff -u --recursive --new-file v1.3.27/linux/arch/alpha/kernel/osf_sys.c linux/arch/alpha/kernel/osf_sys.c
@@ -32,14 +32,14 @@
#include <asm/system.h>
#include <asm/io.h>
-extern int do_mount(dev_t, const char *, char *, int, void *);
+extern int do_mount(kdev_t, const char *, char *, int, void *);
extern int do_pipe(int *);
extern struct file_operations * get_blkfops(unsigned int);
extern struct file_operations * get_chrfops(unsigned int);
-extern dev_t get_unnamed_dev(void);
-extern void put_unnamed_dev(dev_t);
+extern kdev_t get_unnamed_dev(void);
+extern void put_unnamed_dev(kdev_t);
extern asmlinkage int sys_umount(char *);
extern asmlinkage int sys_swapon(const char *specialfile, int swap_flags);
@@ -240,7 +240,7 @@
static int getdev(const char * name, int rdonly, struct inode ** ino)
{
- dev_t dev;
+ kdev_t dev;
struct inode * inode;
struct file_operations * fops;
int retval;
@@ -337,7 +337,7 @@
static int osf_procfs_mount(char * dirname, struct procfs_args * args, int flags)
{
- dev_t dev;
+ kdev_t dev;
int retval;
struct procfs_args tmp;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this