diff options
author | Greg Ungerer <gerg@snapgear.com> | 2007-11-05 17:51:04 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-11-05 18:12:33 -0500 |
commit | 001e09e86c1c7612783f46256500c31e5ed55c6a (patch) | |
tree | d8268791a34650b4902c4c0ee9fe644c8ee16081 /include/asm-m68knommu | |
parent | 8a29f2b0288ba2a8fb302f9a639521ac9ff302e5 (diff) |
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>
Diffstat (limited to 'include/asm-m68knommu')
-rw-r--r-- | include/asm-m68knommu/unistd.h | 4 |
1 files changed, 2 insertions, 2 deletions
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 @@ | |||
185 | #define __NR_rt_sigtimedwait 177 | 185 | #define __NR_rt_sigtimedwait 177 |
186 | #define __NR_rt_sigqueueinfo 178 | 186 | #define __NR_rt_sigqueueinfo 178 |
187 | #define __NR_rt_sigsuspend 179 | 187 | #define __NR_rt_sigsuspend 179 |
188 | #define __NR_pread 180 | 188 | #define __NR_pread64 180 |
189 | #define __NR_pwrite 181 | 189 | #define __NR_pwrite64 181 |
190 | #define __NR_lchown 182 | 190 | #define __NR_lchown 182 |
191 | #define __NR_getcwd 183 | 191 | #define __NR_getcwd 183 |
192 | #define __NR_capget 184 | 192 | #define __NR_capget 184 |