e2k: Fix build of other linux-user-targets.

Forgot to wrap constants in if block.

Signed-off-by: Denis Drakhnya <numas13@gmail.com>
This commit is contained in:
Denis Drakhnia 2021-02-12 21:50:55 +02:00 committed by Denis Drakhnia
parent 62637ca653
commit 9146c4c67f
1 changed files with 2 additions and 0 deletions

View File

@ -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