diff --git a/sys/kern/vnode_if.c b/sys/kern/vnode_if.c index bfaad46d8f64..20892c51d208 100644 --- a/sys/kern/vnode_if.c +++ b/sys/kern/vnode_if.c @@ -1,11 +1,11 @@ -/* $NetBSD: vnode_if.c,v 1.69 2007/07/22 21:27:49 pooka Exp $ */ +/* $NetBSD: vnode_if.c,v 1.70 2007/07/27 08:27:38 pooka Exp $ */ /* * Warning: DO NOT EDIT! This file is automatically generated! * (Modifications made here may easily be lost!) * * Created from the file: - * NetBSD: vnode_if.src,v 1.53 2007/07/22 21:26:53 pooka Exp + * NetBSD: vnode_if.src,v 1.54 2007/07/27 08:26:38 pooka Exp * by the script: * NetBSD: vnode_if.sh,v 1.44 2007/07/22 21:26:53 pooka Exp */ @@ -40,7 +40,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: vnode_if.c,v 1.69 2007/07/22 21:27:49 pooka Exp $"); +__KERNEL_RCSID(0, "$NetBSD: vnode_if.c,v 1.70 2007/07/27 08:27:38 pooka Exp $"); /* @@ -730,7 +730,7 @@ const struct vnodeop_desc vop_mmap_desc = { }; int VOP_MMAP(struct vnode *vp, - int fflags, + vm_prot_t prot, kauth_cred_t cred, struct lwp *l) { @@ -740,7 +740,7 @@ VOP_MMAP(struct vnode *vp, #endif a.a_desc = VDESC(vop_mmap); a.a_vp = vp; - a.a_fflags = fflags; + a.a_prot = prot; a.a_cred = cred; a.a_l = l; diff --git a/sys/sys/vnode_if.h b/sys/sys/vnode_if.h index a2767d40869f..8981f54901fd 100644 --- a/sys/sys/vnode_if.h +++ b/sys/sys/vnode_if.h @@ -1,11 +1,11 @@ -/* $NetBSD: vnode_if.h,v 1.65 2007/07/22 21:27:49 pooka Exp $ */ +/* $NetBSD: vnode_if.h,v 1.66 2007/07/27 08:27:38 pooka Exp $ */ /* * Warning: DO NOT EDIT! This file is automatically generated! * (Modifications made here may easily be lost!) * * Created from the file: - * NetBSD: vnode_if.src,v 1.53 2007/07/22 21:26:53 pooka Exp + * NetBSD: vnode_if.src,v 1.54 2007/07/27 08:26:38 pooka Exp * by the script: * NetBSD: vnode_if.sh,v 1.44 2007/07/22 21:26:53 pooka Exp */ @@ -230,12 +230,12 @@ int VOP_REVOKE(struct vnode *, int); struct vop_mmap_args { const struct vnodeop_desc *a_desc; struct vnode *a_vp; - int a_fflags; + vm_prot_t a_prot; kauth_cred_t a_cred; struct lwp *a_l; }; extern const struct vnodeop_desc vop_mmap_desc; -int VOP_MMAP(struct vnode *, int, kauth_cred_t, struct lwp *); +int VOP_MMAP(struct vnode *, vm_prot_t, kauth_cred_t, struct lwp *); #define VOP_FSYNC_DESCOFFSET 18 struct vop_fsync_args {