diff options
author | Richard Henderson <rth@twiddle.net> | 2016-12-05 13:08:12 -0800 |
---|---|---|
committer | Richard Henderson <rth@twiddle.net> | 2017-01-22 18:14:10 -0800 |
commit | fe8ed7d5794f6cecc69bb31ab1291e2356d31bcd (patch) | |
tree | 25721767d3d1c8ea0e5c782075ae2f0f2da6b2bd /linux-user/syscall.c | |
parent | 405b49150425a3570de4eab99870498d14712b11 (diff) |
linux-user: Handle ERFKILL and EHWPOISON
With definitions for generic, alpha and mips taken from 4.9-rc2.
Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'linux-user/syscall.c')
-rw-r--r-- | linux-user/syscall.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/linux-user/syscall.c b/linux-user/syscall.c index acb004f035..11a311f9db 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c @@ -798,6 +798,12 @@ static uint16_t host_to_target_errno_table[ERRNO_TABLE_SIZE] = { #ifdef ENOMSG [ENOMSG] = TARGET_ENOMSG, #endif +#ifdef ERKFILL + [ERFKILL] = TARGET_ERFKILL, +#endif +#ifdef EHWPOISON + [EHWPOISON] = TARGET_EHWPOISON, +#endif }; static inline int host_to_target_errno(int err) |