diff options
author | Joseph Myers <joseph@codesourcery.com> | 2013-02-08 20:06:30 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2013-02-08 20:06:30 +0000 |
commit | a2da1673fe32540799c801e8aec374dc1c0e0596 (patch) | |
tree | f01cfb3fd9e2fa7aaa067809b09afe2c024be294 /ports/sysdeps/unix/sysv/linux/mips/pread.c | |
parent | 7f3e75f87a93265e5a9feb1ba320f4b19f29cd67 (diff) | |
download | glibc-a2da1673fe32540799c801e8aec374dc1c0e0596.tar.gz glibc-a2da1673fe32540799c801e8aec374dc1c0e0596.tar.xz glibc-a2da1673fe32540799c801e8aec374dc1c0e0596.zip |
Remove CHECK_N and bp-checks.h.
Diffstat (limited to 'ports/sysdeps/unix/sysv/linux/mips/pread.c')
-rw-r--r-- | ports/sysdeps/unix/sysv/linux/mips/pread.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/ports/sysdeps/unix/sysv/linux/mips/pread.c b/ports/sysdeps/unix/sysv/linux/mips/pread.c index b269e1c25a..db18265e3d 100644 --- a/ports/sysdeps/unix/sysv/linux/mips/pread.c +++ b/ports/sysdeps/unix/sysv/linux/mips/pread.c @@ -26,7 +26,6 @@ #include <sysdep-cancel.h> #include <sys/syscall.h> -#include <bp-checks.h> #include <kernel-features.h> @@ -54,10 +53,9 @@ __libc_pread (fd, buf, count, offset) if (SINGLE_THREAD_P) { #if _MIPS_SIM == _ABIN32 || _MIPS_SIM == _ABI64 - result = INLINE_SYSCALL (pread, 4, fd, CHECK_N (buf, count), count, - offset); + result = INLINE_SYSCALL (pread, 4, fd, buf, count, offset); #else - result = INLINE_SYSCALL (pread, 6, fd, CHECK_N (buf, count), count, 0, + result = INLINE_SYSCALL (pread, 6, fd, buf, count, 0, __LONG_LONG_PAIR (offset >> 31, offset)); #endif return result; @@ -66,9 +64,9 @@ __libc_pread (fd, buf, count, offset) int oldtype = LIBC_CANCEL_ASYNC (); #if _MIPS_SIM == _ABIN32 || _MIPS_SIM == _ABI64 - result = INLINE_SYSCALL (pread, 4, fd, CHECK_N (buf, count), count, offset); + result = INLINE_SYSCALL (pread, 4, fd, buf, count, offset); #else - result = INLINE_SYSCALL (pread, 6, fd, CHECK_N (buf, count), count, 0, + result = INLINE_SYSCALL (pread, 6, fd, buf, count, 0, __LONG_LONG_PAIR (offset >> 31, offset)); #endif |