diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2000-07-09 21:34:29 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2000-07-09 21:34:29 +0000 |
commit | 913c94403b96b4c381bd40f9588839612d71d2e9 (patch) | |
tree | 810e669fed6232fa9d37f8ce830d046d319c9cf0 /arch/mips64/kernel/ioctl32.c | |
parent | 9f2b43b25e6ab17ac47b7754a157e01075cb5ba9 (diff) |
Kill warnings in the 64-bit kernel.
Diffstat (limited to 'arch/mips64/kernel/ioctl32.c')
-rw-r--r-- | arch/mips64/kernel/ioctl32.c | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/arch/mips64/kernel/ioctl32.c b/arch/mips64/kernel/ioctl32.c index b0b22a50d..87174861f 100644 --- a/arch/mips64/kernel/ioctl32.c +++ b/arch/mips64/kernel/ioctl32.c @@ -1,4 +1,4 @@ -/* $Id$ +/* * ioctl32.c: Conversion between 32bit and 64bit native ioctls. * * Copyright (C) 2000 Silicon Graphics, Inc. @@ -35,23 +35,6 @@ struct timeval32 { #define EXT2_IOC32_GETVERSION _IOR('v', 1, int) #define EXT2_IOC32_SETVERSION _IOW('v', 2, int) -static int do_siocgstamp(unsigned int fd, unsigned int cmd, unsigned long arg) -{ - struct timeval32 *up = (struct timeval32 *)arg; - struct timeval ktv; - mm_segment_t old_fs = get_fs(); - int err; - - set_fs(KERNEL_DS); - err = sys_ioctl(fd, cmd, (unsigned long)&ktv); - set_fs(old_fs); - if(!err) { - err = put_user(ktv.tv_sec, &up->tv_sec); - err |= __put_user(ktv.tv_usec, &up->tv_usec); - } - return err; -} - struct ifmap32 { unsigned int mem_start; unsigned int mem_end; |