diff options
author | Joseph Myers <joseph@codesourcery.com> | 2022-12-22 15:12:52 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2022-12-22 15:12:52 +0000 |
commit | 81a94a2ae34bac9c3d907bbe0468ba56914accb0 (patch) | |
tree | 9703ad2f1dcd68ada89d8675e9915bb000492dd4 /sysdeps/unix/sysv/linux/hppa/bits | |
parent | e2b68828fab4fdfa5595fa89180230cdc4373ec1 (diff) | |
download | glibc-81a94a2ae34bac9c3d907bbe0468ba56914accb0.tar.gz glibc-81a94a2ae34bac9c3d907bbe0468ba56914accb0.tar.xz glibc-81a94a2ae34bac9c3d907bbe0468ba56914accb0.zip |
Define MADV_COLLAPSE from Linux 6.1
Add the MADV_COLLAPSE constant from Linux 6.1 to bits/mman-linux.h and the hppa bits/mman.h. Tested for x86_64.
Diffstat (limited to 'sysdeps/unix/sysv/linux/hppa/bits')
-rw-r--r-- | sysdeps/unix/sysv/linux/hppa/bits/mman.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/hppa/bits/mman.h b/sysdeps/unix/sysv/linux/hppa/bits/mman.h index acaa1cc3e7..1d895a5234 100644 --- a/sysdeps/unix/sysv/linux/hppa/bits/mman.h +++ b/sysdeps/unix/sysv/linux/hppa/bits/mman.h @@ -79,4 +79,6 @@ # define MADV_WIPEONFORK 71 /* Zero memory on fork, child only. */ # undef MADV_KEEPONFORK # define MADV_KEEPONFORK 72 /* Undo MADV_WIPEONFORK. */ +# undef MADV_COLLAPSE +# define MADV_COLLAPSE 73 /* Synchronous hugepage collapse. */ #endif |