Define MADV_MERGEABLE and MADV_UNMERGEABLE.

Add MADV_MERGEABLE and MADV_UNMERGEABLE to bits/mman.h,
matching HPPA values used in Linux kernel 2.6.32.
This commit is contained in:
Carlos O'Donell 2010-02-02 16:50:15 -05:00
parent d143075adc
commit 317d0e66a0
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2010-02-02 Carlos O'Donell <carlos@codesourcery.com>
* sysdeps/unix/sysv/linux/hppa/bits/mman.h: Define
MADV_MERGEABLE and MADV_UNMERGEABLE.
2010-02-02 Carlos O'Donell <carlos@codesourcery.com>
* sysdeps/hppa/nptl/tls.h (__set_cr27): Clobber

View File

@ -86,6 +86,8 @@
# define MADV_REMOVE 9 /* Remove these pages and resources. */
# define MADV_DONTFORK 10 /* Do not inherit across fork. */
# define MADV_DOFORK 11 /* Do inherit across fork. */
# define MADV_MERGEABLE 65 /* KSM may merge identical pages */
# define MADV_UNMERGEABLE 66 /* KSM may not merge identical pages */
#endif
/* The range 12-64 is reserved for page size specification. */