mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-01 23:03:54 -06:00
linux-user/alpha: 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-2-f4bug@amsat.org> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
This commit is contained in:
parent
a46955ff61
commit
f5f35cec5a
1 changed files with 2 additions and 0 deletions
|
@ -44,6 +44,8 @@ struct target_pt_regs {
|
|||
#define UNAME_MACHINE "alpha"
|
||||
#define UNAME_MINIMUM_RELEASE "2.6.32"
|
||||
|
||||
#undef TARGET_EWOULDBLOCK
|
||||
#define TARGET_EWOULDBLOCK TARGET_EAGAIN /* Operation would block */
|
||||
#undef TARGET_EDEADLK
|
||||
#define TARGET_EDEADLK 11
|
||||
#undef TARGET_EAGAIN
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue