diff options
author | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2021-07-04 20:37:45 +0200 |
---|---|---|
committer | Laurent Vivier <laurent@vivier.eu> | 2021-07-07 21:26:03 +0200 |
commit | db10481c00e5787c57523579c2571791a5bffb38 (patch) | |
tree | 9e3c0628231766b962543e20ae681abf010388a7 /linux-user/hppa | |
parent | f5f35cec5a08e3b16bff482e8fe1578f62dd3e09 (diff) | |
download | qemu-db10481c00e5787c57523579c2571791a5bffb38.zip |
linux-user/hppa: Handle TARGET_EWOULDBLOCK as TARGET_EAGAIN
Linux kernel defines EWOULDBLOCK as EAGAIN (since before v2.6.12-rc2).
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210704183755.655002-3-f4bug@amsat.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'linux-user/hppa')
-rw-r--r-- | linux-user/hppa/target_syscall.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/linux-user/hppa/target_syscall.h b/linux-user/hppa/target_syscall.h index f34e05edb5..97a095656d 100644 --- a/linux-user/hppa/target_syscall.h +++ b/linux-user/hppa/target_syscall.h @@ -27,6 +27,8 @@ struct target_pt_regs { #define TARGET_MCL_FUTURE 2 #define TARGET_MCL_ONFAULT 4 +#undef TARGET_EWOULDBLOCK +#define TARGET_EWOULDBLOCK TARGET_EAGAIN /* Operation would block */ #undef TARGET_ENOMSG #define TARGET_ENOMSG 35 #undef TARGET_EIDRM |