diff options
author | Ulrich Drepper <drepper@redhat.com> | 2000-03-17 18:45:19 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2000-03-17 18:45:19 +0000 |
commit | f5ef7558c7c50cc2a73e09a0f0d1a229e7db0ea8 (patch) | |
tree | 8bd7a715a40693fd0ed9a191b38b7de748caea3f /sysdeps/unix/sysv/linux/i386/bits | |
parent | b9b178acee8a965154399fffaf505b15c1ab21cb (diff) | |
download | glibc-f5ef7558c7c50cc2a73e09a0f0d1a229e7db0ea8.tar.gz glibc-f5ef7558c7c50cc2a73e09a0f0d1a229e7db0ea8.tar.xz glibc-f5ef7558c7c50cc2a73e09a0f0d1a229e7db0ea8.zip |
Update.
2000-03-16 Andreas Jaeger <aj@suse.de> * sysdeps/unix/sysv/linux/syscalls.list: Added madvise and mincore. * sysdeps/unix/sysv/linux/madvise.c: Remove. * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MADV_*): Add flags from latest Linux kernel. * sysdeps/unix/sysv/linux/i386/bits/mman.h (MADV_*): Likewise.
Diffstat (limited to 'sysdeps/unix/sysv/linux/i386/bits')
-rw-r--r-- | sysdeps/unix/sysv/linux/i386/bits/mman.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/i386/bits/mman.h b/sysdeps/unix/sysv/linux/i386/bits/mman.h index 8738e98c30..7c33f79896 100644 --- a/sysdeps/unix/sysv/linux/i386/bits/mman.h +++ b/sysdeps/unix/sysv/linux/i386/bits/mman.h @@ -73,3 +73,12 @@ #ifdef __USE_GNU # define MREMAP_MAYMOVE 1 #endif + +/* Advice to `madvise'. */ +#ifdef __USE_BSD +# define MADV_NORMAL 0 /* No further special treatment. */ +# define MADV_RANDOM 1 /* Expect random page references. */ +# define MADV_SEQUENTIAL 2 /* Expect sequential page references. */ +# define MADV_WILLNEED 3 /* Will need these pages. */ +# define MADV_DONTNEED 4 /* Don't need these pages. */ +#endif |