Commit 4914ad4a authored by Ralf Baechle's avatar Ralf Baechle

[MIPS] 32-bit compat: Delete unused sys_truncate64 and sys_ftruncate64.

Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent e0eb7307
...@@ -129,23 +129,6 @@ sys32_mmap2(unsigned long addr, unsigned long len, unsigned long prot, ...@@ -129,23 +129,6 @@ sys32_mmap2(unsigned long addr, unsigned long len, unsigned long prot,
return error; return error;
} }
asmlinkage int sys_truncate64(const char __user *path, unsigned int high,
unsigned int low)
{
if ((int)high < 0)
return -EINVAL;
return sys_truncate(path, ((long) high << 32) | low);
}
asmlinkage int sys_ftruncate64(unsigned int fd, unsigned int high,
unsigned int low)
{
if ((int)high < 0)
return -EINVAL;
return sys_ftruncate(fd, ((long) high << 32) | low);
}
/* /*
* sys_execve() executes a new program. * sys_execve() executes a new program.
*/ */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment