From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37367) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zhzxl-0005Qr-95 for qemu-devel@nongnu.org; Fri, 02 Oct 2015 09:01:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zhzxh-0000g8-QP for qemu-devel@nongnu.org; Fri, 02 Oct 2015 09:01:25 -0400 Received: from mail-lb0-f175.google.com ([209.85.217.175]:35775) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zhzxh-0000fd-Jt for qemu-devel@nongnu.org; Fri, 02 Oct 2015 09:01:21 -0400 Received: by lbwr8 with SMTP id r8so25930019lbw.2 for ; Fri, 02 Oct 2015 06:01:21 -0700 (PDT) From: riku.voipio@linaro.org Date: Fri, 2 Oct 2015 16:01:03 +0300 Message-Id: <08703b9f7bcd7ca2152d51a4c8893d26f1dc28de.1443790691.git.riku.voipio@linaro.org> In-Reply-To: References: Subject: [Qemu-devel] [PULL 11/13] linux-user/syscall.c: Add EAGAIN to host_to_target_errno_table for List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Chen Gang From: Chen Gang Under Alpha host, EAGAIN is redefined to 35, so it need be remapped too. Reviewed-by: Peter Maydell Signed-off-by: Chen Gang Signed-off-by: Riku Voipio --- linux-user/syscall.c | 1 + 1 file changed, 1 insertion(+) diff --git a/linux-user/syscall.c b/linux-user/syscall.c index 9528344..98b5766 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c @@ -457,6 +457,7 @@ static uint16_t target_to_host_errno_table[ERRNO_TABLE_SIZE] = { * minus the errnos that are not actually generic to all archs. */ static uint16_t host_to_target_errno_table[ERRNO_TABLE_SIZE] = { + [EAGAIN] = TARGET_EAGAIN, [EIDRM] = TARGET_EIDRM, [ECHRNG] = TARGET_ECHRNG, [EL2NSYNC] = TARGET_EL2NSYNC, -- 2.5.3