summaryrefslogtreecommitdiff
path: root/arch/sparc/kernel/sys_sparc32.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-12-25 20:29:43 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2013-02-03 22:43:36 -0500
commit25f9e5c4e07f6107b81babe7ad71b90b329d587b (patch)
tree7d9b2ac125f4777380f66f6d12fa274597cacdb5 /arch/sparc/kernel/sys_sparc32.c
parenta274bd498ce4b57294034d428b801b2bca3af774 (diff)
kill sparc32_open()
it's a copy of compat_sys_open() Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/sparc/kernel/sys_sparc32.c')
-rw-r--r--arch/sparc/kernel/sys_sparc32.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/arch/sparc/kernel/sys_sparc32.c b/arch/sparc/kernel/sys_sparc32.c
index dcce0a6216cf..a492380331e6 100644
--- a/arch/sparc/kernel/sys_sparc32.c
+++ b/arch/sparc/kernel/sys_sparc32.c
@@ -337,16 +337,6 @@ long compat_sys_fadvise64_64(int fd,
advice);
}
-/* This is just a version for 32-bit applications which does
- * not force O_LARGEFILE on.
- */
-
-asmlinkage long sparc32_open(const char __user *filename,
- int flags, int mode)
-{
- return do_sys_open(AT_FDCWD, filename, flags, mode);
-}
-
long sys32_lookup_dcookie(unsigned long cookie_high,
unsigned long cookie_low,
char __user *buf, size_t len)