Commit e048d004 authored by Catalin Marinas's avatar Catalin Marinas
Browse files

arm64: Use the generic compat_sys_sendfile() implementation

The generic implementation of compat_sys_sendfile() has been introduced
by commit 8f9c0119

. This patch removes the arm64 implementation in
favour of the generic one.
Signed-off-by: default avatarCatalin Marinas <>
parent 27222a3d
......@@ -752,3 +752,4 @@ __SYSCALL(__NR_syncfs, sys_syncfs)
......@@ -84,26 +84,6 @@ asmlinkage int compat_sys_sched_rr_get_interval(compat_pid_t pid,
return ret;
asmlinkage int compat_sys_sendfile(int out_fd, int in_fd,
compat_off_t __user *offset, s32 count)
mm_segment_t old_fs = get_fs();
int ret;
off_t of;
if (offset && get_user(of, offset))
return -EFAULT;
ret = sys_sendfile(out_fd, in_fd, offset ? (off_t __user *)&of : NULL,
if (offset && put_user(of, offset))
return -EFAULT;
return ret;
static inline void
do_compat_cache_op(unsigned long start, unsigned long end, int flags)
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