Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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 <gerg@uclinux.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Greg Ungerer and committed by
Linus Torvalds
001e09e8 8a29f2b0

+2 -2
+2 -2
include/asm-m68knommu/unistd.h
··· 185 185 #define __NR_rt_sigtimedwait 177 186 186 #define __NR_rt_sigqueueinfo 178 187 187 #define __NR_rt_sigsuspend 179 188 - #define __NR_pread 180 189 - #define __NR_pwrite 181 188 + #define __NR_pread64 180 189 + #define __NR_pwrite64 181 190 190 #define __NR_lchown 182 191 191 #define __NR_getcwd 183 192 192 #define __NR_capget 184