From: Greg Ungerer Date: Mon, 5 Nov 2007 22:51:04 +0000 (-0800) Subject: m68knommu: fix pread/pwrite defines X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=001e09e86c1c7612783f46256500c31e5ed55c6a;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git m68knommu: fix pread/pwrite defines Fix system call defines for system call 180 and 181 to match the underlying system call table function entries. System call 180 calls sys_pread64, and 181 calls sys_pwrite64, so make the definitions match. Signed-off-by: Greg Ungerer Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/include/asm-m68knommu/unistd.h b/include/asm-m68knommu/unistd.h index eb1b566793fe..27c2f9bb4dbd 100644 --- a/include/asm-m68knommu/unistd.h +++ b/include/asm-m68knommu/unistd.h @@ -185,8 +185,8 @@ #define __NR_rt_sigtimedwait 177 #define __NR_rt_sigqueueinfo 178 #define __NR_rt_sigsuspend 179 -#define __NR_pread 180 -#define __NR_pwrite 181 +#define __NR_pread64 180 +#define __NR_pwrite64 181 #define __NR_lchown 182 #define __NR_getcwd 183 #define __NR_capget 184