public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [M68KNOMMU]: fix pread/pwrite defines
@ 2007-10-30  4:41 Greg Ungerer
  0 siblings, 0 replies; only message in thread
From: Greg Ungerer @ 2007-10-30  4:41 UTC (permalink / raw)
  To: torvalds; +Cc: gerg, linux-kernel

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>
---


diff -Naurp linux-2.6.23/include/asm-m68knommu/unistd.h linux-2.6.23-uc0/include/asm-m68knommu/unistd.h
--- linux-2.6.23/include/asm-m68knommu/unistd.h	2007-10-19 10:21:31.000000000 +1000
+++ linux-2.6.23-uc0/include/asm-m68knommu/unistd.h	2007-10-19 10:32:28.000000000 +1000
@@ -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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-10-30  4:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-30  4:41 [M68KNOMMU]: fix pread/pwrite defines Greg Ungerer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox