about summary refs log tree commit diff
path: root/ports/sysdeps/unix/sysv/linux/arm/pread64.c
diff options
context:
space:
mode:
Diffstat (limited to 'ports/sysdeps/unix/sysv/linux/arm/pread64.c')
-rw-r--r--ports/sysdeps/unix/sysv/linux/arm/pread64.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/ports/sysdeps/unix/sysv/linux/arm/pread64.c b/ports/sysdeps/unix/sysv/linux/arm/pread64.c
index 6d1d9148aa..c7863a35c6 100644
--- a/ports/sysdeps/unix/sysv/linux/arm/pread64.c
+++ b/ports/sysdeps/unix/sysv/linux/arm/pread64.c
@@ -22,7 +22,6 @@
 
 #include <sysdep-cancel.h>
 #include <sys/syscall.h>
-#include <bp-checks.h>
 
 ssize_t
 __libc_pread64 (fd, buf, count, offset)
@@ -37,7 +36,7 @@ __libc_pread64 (fd, buf, count, offset)
     {
       /* In the ARM EABI, 64-bit values are aligned to even/odd register
 	 pairs for syscalls.  */
-      result = INLINE_SYSCALL (pread64, 6, fd, CHECK_N (buf, count), count, 0,
+      result = INLINE_SYSCALL (pread64, 6, fd, buf, count, 0,
 			       __LONG_LONG_PAIR ((off_t) (offset >> 32),
 						 (off_t) (offset & 0xffffffff)));
 
@@ -48,7 +47,7 @@ __libc_pread64 (fd, buf, count, offset)
 
   /* In the ARM EABI, 64-bit values are aligned to even/odd register
      pairs for syscalls.  */
-  result = INLINE_SYSCALL (pread64, 6, fd, CHECK_N (buf, count), count, 0,
+  result = INLINE_SYSCALL (pread64, 6, fd, buf, count, 0,
 			   __LONG_LONG_PAIR ((off_t) (offset >> 32),
 					     (off_t) (offset & 0xffffffff)));