diff options
| author | Matthew N. Dodd <mdodd@FreeBSD.org> | 2002-09-19 19:02:54 +0000 |
|---|---|---|
| committer | Matthew N. Dodd <mdodd@FreeBSD.org> | 2002-09-19 19:02:54 +0000 |
| commit | c5afa58784ceb6013f9511aebf904378c69b6556 (patch) | |
| tree | 2cc15f91eeaeb0ebfeb5d220e3c96450219f6dbd /sys/compat/linux/linux_misc.c | |
| parent | 21ed01faf312bd33f6e4eae66e8c8f0c584c03c4 (diff) | |
Notes
Diffstat (limited to 'sys/compat/linux/linux_misc.c')
| -rw-r--r-- | sys/compat/linux/linux_misc.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/compat/linux/linux_misc.c b/sys/compat/linux/linux_misc.c index 0d10fbb563fe..a2c9a2454d82 100644 --- a/sys/compat/linux/linux_misc.c +++ b/sys/compat/linux/linux_misc.c @@ -604,6 +604,10 @@ linux_mremap(struct thread *td, struct linux_mremap_args *args) return error; } +#define LINUX_MS_ASYNC 0x0001 +#define LINUX_MS_INVALIDATE 0x0002 +#define LINUX_MS_SYNC 0x0004 + int linux_msync(struct thread *td, struct linux_msync_args *args) { @@ -611,7 +615,7 @@ linux_msync(struct thread *td, struct linux_msync_args *args) bsd_args.addr = (caddr_t)args->addr; bsd_args.len = args->len; - bsd_args.flags = 0; /* XXX ignore */ + bsd_args.flags = args->fl & ~LINUX_MS_SYNC; return msync(td, &bsd_args); } |
