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
@ -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…
Reference in New Issue
Block a user