Skip to content

Commit

Permalink
[MIPS] 32-bit compat: Delete unused sys_truncate64 and sys_ftruncate64.
Browse files Browse the repository at this point in the history
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  • Loading branch information
Ralf Baechle committed Jul 20, 2008
1 parent e0eb730 commit 4914ad4
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions arch/mips/kernel/linux32.c
Original file line number Diff line number Diff line change
Expand Up @@ -129,23 +129,6 @@ sys32_mmap2(unsigned long addr, unsigned long len, unsigned long prot,
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.
*/
Expand Down

0 comments on commit 4914ad4

Please sign in to comment.