From fe8ed7d5794f6cecc69bb31ab1291e2356d31bcd Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Mon, 5 Dec 2016 13:08:12 -0800 Subject: linux-user: Handle ERFKILL and EHWPOISON With definitions for generic, alpha and mips taken from 4.9-rc2. Signed-off-by: Richard Henderson --- linux-user/syscall.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'linux-user/syscall.c') 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) -- cgit 1.4.1