xlat: add fallback definitions to madvise_cmds

* xlat/madvise_cmds.in: Regenerate using maint/gen_xlat_defs.sh script
to provide fallback definitions.

Co-Authored-by: Eugene Syromyatnikov <evgsyr@gmail.com>
This commit is contained in:
Дмитрий Левин 2018-08-05 18:57:25 +00:00
parent d7da491c34
commit 22f0253f33

View File

@ -1,19 +1,75 @@
MADV_NORMAL
MADV_RANDOM
MADV_SEQUENTIAL
MADV_WILLNEED
MADV_DONTNEED
MADV_FREE
MADV_REMOVE
MADV_DONTFORK
MADV_DOFORK
MADV_HWPOISON
MADV_SOFT_OFFLINE
MADV_MERGEABLE
MADV_UNMERGEABLE
MADV_HUGEPAGE
MADV_NOHUGEPAGE
MADV_DONTDUMP
MADV_DODUMP
MADV_WIPEONFORK
MADV_KEEPONFORK
/* Generated by maint/gen_xlat_defs.sh -f 'd' -p 'MADV_' -c 'asm-generic/mman-common.h' -a 'asm/mman.h' */
MADV_NORMAL 0
MADV_RANDOM 1
MADV_SEQUENTIAL 2
MADV_WILLNEED 3
#if defined __alpha__
MADV_DONTNEED 6
#else
MADV_DONTNEED 4
#endif
MADV_FREE 8
MADV_REMOVE 9
MADV_DONTFORK 10
MADV_DOFORK 11
#if defined __hppa__
MADV_MERGEABLE 65
#else
MADV_MERGEABLE 12
#endif
#if defined __hppa__
MADV_UNMERGEABLE 66
#else
MADV_UNMERGEABLE 13
#endif
#if defined __hppa__
MADV_HUGEPAGE 67
#else
MADV_HUGEPAGE 14
#endif
#if defined __hppa__
MADV_NOHUGEPAGE 68
#else
MADV_NOHUGEPAGE 15
#endif
#if defined __hppa__
MADV_DONTDUMP 69
#else
MADV_DONTDUMP 16
#endif
#if defined __hppa__
MADV_DODUMP 70
#else
MADV_DODUMP 17
#endif
#if defined __hppa__
MADV_WIPEONFORK 71
#else
MADV_WIPEONFORK 18
#endif
#if defined __hppa__
MADV_KEEPONFORK 72
#else
MADV_KEEPONFORK 19
#endif
MADV_HWPOISON 100
MADV_SOFT_OFFLINE 101