From patchwork Tue Jan 31 09:29:26 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Riku Voipio X-Patchwork-Id: 138730 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [140.186.70.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 8ABB4B6EFF for ; Tue, 31 Jan 2012 20:53:53 +1100 (EST) Received: from localhost ([::1]:49503 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RsA3G-0006GQ-2m for incoming@patchwork.ozlabs.org; Tue, 31 Jan 2012 04:30:58 -0500 Received: from eggs.gnu.org ([140.186.70.92]:58242) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RsA20-0004HB-6l for qemu-devel@nongnu.org; Tue, 31 Jan 2012 04:29:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RsA1r-0002d3-I3 for qemu-devel@nongnu.org; Tue, 31 Jan 2012 04:29:40 -0500 Received: from afflict.kos.to ([92.243.29.197]:37247) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RsA1r-0002bB-9d for qemu-devel@nongnu.org; Tue, 31 Jan 2012 04:29:31 -0500 Received: by afflict.kos.to (Postfix, from userid 1000) id E02A42653E; Tue, 31 Jan 2012 09:29:28 +0000 (UTC) From: riku.voipio@linaro.org To: qemu-devel@nongnu.org Date: Tue, 31 Jan 2012 11:29:26 +0200 Message-Id: <25fcb1a5107c6c4f99459aaaba84183051174d63.1328001769.git.riku.voipio@linaro.org> X-Mailer: git-send-email 1.7.1 In-Reply-To: References: MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 92.243.29.197 Cc: =?UTF-8?q?Andreas=20F=C3=A4rber?= Subject: [Qemu-devel] [PATCH 17/19] linux-user: Define TARGET_QEMU_ESIGRETURN for mipsn32 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org From: Andreas Färber Copied from mips/syscall.h. Signed-off-by: Ulrich Hecht Signed-off-by: Andreas Färber Signed-off-by: Riku Voipio --- linux-user/mipsn32/syscall.h | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/linux-user/mipsn32/syscall.h b/linux-user/mipsn32/syscall.h index 4ec506c..ebe98f2 100644 --- a/linux-user/mipsn32/syscall.h +++ b/linux-user/mipsn32/syscall.h @@ -218,4 +218,7 @@ struct target_pt_regs { +/* Nasty hack: define a fake errno value for use by sigreturn. */ +#define TARGET_QEMU_ESIGRETURN 255 + #define UNAME_MACHINE "mips64"