Version the posix_fadvise syscall and add the missing "pad" argument,

so that it does not only work on i386 (no padding) and 64bit archs (all
args padded to 64bit).
This commit is contained in:
martin 2008-01-27 16:13:39 +00:00
parent 7a9167c057
commit 65badb72df
1 changed files with 4 additions and 2 deletions

View File

@ -1,4 +1,4 @@
$NetBSD: syscalls.master,v 1.186 2008/01/25 13:38:57 ad Exp $
$NetBSD: syscalls.master,v 1.187 2008/01/27 16:13:39 martin Exp $
; @(#)syscalls.master 8.2 (Berkeley) 1/13/94
@ -788,7 +788,7 @@
388 STD MPSAFE { int sys___fstat30(int fd, struct stat *sb); }
389 STD MPSAFE { int sys___lstat30(const char *path, struct stat *ub); }
390 STD MPSAFE { int sys___getdents30(int fd, char *buf, size_t count); }
391 STD MPSAFE { int sys_posix_fadvise(int fd, off_t offset, \
391 COMPAT_40 MPSAFE { int sys_posix_fadvise(int fd, off_t offset, \
off_t len, int advice); }
392 COMPAT_30 MPSAFE { int sys___fhstat30(const struct compat_30_fhandle \
*fhp, struct stat *sb); }
@ -832,3 +832,5 @@
psetid_t *opsid); }
415 STD MPSAFE { int sys__pset_bind(idtype_t idtype, id_t first_id, \
id_t second_id, psetid_t psid, psetid_t *opsid); }
416 STD MPSAFE { int sys___posix_fadvise50(int fd, int pad, \
off_t offset, off_t len, int advice); }