mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-26 20:03:54 -06:00
linux-user: fix strace build w/out munlockall
Signed-off-by: Mike Frysinger <vapier@gentoo.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-Id: <20230118090144.31155-1-vapier@gentoo.org> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
This commit is contained in:
parent
6490d9aa62
commit
d237b416b9
1 changed files with 3 additions and 1 deletions
|
@ -1360,7 +1360,8 @@ UNUSED static const struct flags termios_lflags[] = {
|
|||
FLAG_END,
|
||||
};
|
||||
|
||||
UNUSED static const struct flags mlockall_flags[] = {
|
||||
#ifdef TARGET_NR_mlockall
|
||||
static const struct flags mlockall_flags[] = {
|
||||
FLAG_TARGET(MCL_CURRENT),
|
||||
FLAG_TARGET(MCL_FUTURE),
|
||||
#ifdef MCL_ONFAULT
|
||||
|
@ -1368,6 +1369,7 @@ UNUSED static const struct flags mlockall_flags[] = {
|
|||
#endif
|
||||
FLAG_END,
|
||||
};
|
||||
#endif
|
||||
|
||||
/* IDs of the various system clocks */
|
||||
#define TARGET_CLOCK_REALTIME 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue