[parisc-linux] Missing POSIX_MADV_* defines in bits/mman.h
Helge Deller
deller at gmx.de
Wed May 24 00:24:20 MDT 2006
Hi Guy,
On Wednesday 24 May 2006 01:39, Guy Martin wrote:
> I was wondering why does the hppa glibc misses all the POSIX_MADV_* defines from bits/mman.h and jbailey confirmed that it's a bug and shouldn't be missing.
>
> This trivial copy/paste patch attached fix this lack.
Thanks for noticing!
But your patch misses at least the "new" madvise() parameters as well:
/* common/generic parameters */
#define MADV_REMOVE 9 /* remove these pages & resources */
#define MADV_DONTFORK 10 /* don't inherit across fork */
#define MADV_DOFORK 11 /* do inherit across fork */
See: http://cvs.parisc-linux.org/linux-2.6/include/asm-parisc/mman.h?view=markup
Helge
More information about the parisc-linux
mailing list