From 9146c4c67ff18a5be775738f18e42fa133f88d39 Mon Sep 17 00:00:00 2001 From: Denis Drakhnya Date: Fri, 12 Feb 2021 21:50:55 +0200 Subject: [PATCH] e2k: Fix build of other linux-user-targets. Forgot to wrap constants in if block. Signed-off-by: Denis Drakhnya --- linux-user/strace.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/linux-user/strace.c b/linux-user/strace.c index 0397394cfc..7f1d7b3274 100644 --- a/linux-user/strace.c +++ b/linux-user/strace.c @@ -1414,6 +1414,7 @@ UNUSED static struct enums itimer_types[] = { ENUM_END, }; +#ifdef TARGET_E2K UNUSED static struct enums access_hw_stacks_reqs[] = { ENUM_GENERIC(READ_CHAIN_STACK), ENUM_GENERIC(READ_PROCEDURE_STACK), @@ -1427,6 +1428,7 @@ UNUSED static struct enums access_hw_stacks_reqs[] = { ENUM_GENERIC(WRITE_CHAIN_STACK_EX), ENUM_END, }; +#endif /* * print_xxx utility functions. These are used to print syscall