From patchwork Tue Oct 31 12:53:53 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 10034501 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 51E23600C5 for ; Tue, 31 Oct 2017 13:00:31 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3687F28459 for ; Tue, 31 Oct 2017 13:00:31 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 27EBD28A15; Tue, 31 Oct 2017 13:00:31 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 9756F28459 for ; Tue, 31 Oct 2017 13:00:30 +0000 (UTC) Received: from localhost ([::1]:45523 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e9W9d-0006Pf-U2 for patchwork-qemu-devel@patchwork.kernel.org; Tue, 31 Oct 2017 09:00:29 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54107) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e9W3g-0002Lz-Tj for qemu-devel@nongnu.org; Tue, 31 Oct 2017 08:54:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e9W3g-00059U-1d for qemu-devel@nongnu.org; Tue, 31 Oct 2017 08:54:20 -0400 Received: from mail-wr0-x243.google.com ([2a00:1450:400c:c0c::243]:54617) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e9W3f-00058q-R0 for qemu-devel@nongnu.org; Tue, 31 Oct 2017 08:54:19 -0400 Received: by mail-wr0-x243.google.com with SMTP id o44so15815789wrf.11 for ; Tue, 31 Oct 2017 05:54:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=wFvLjOSh78taI7tVkXdsj4h4Z5eFp/zbg0IXzUCQrhQ=; b=V4wS4uqtoRWw2gnkclQqCUNr1UehkjQGHluYSfpZNHi7+fcawfjuhbPgBC4MFYsNhd tjJVmKvAoTwLzLIpnf32VxGj/n7LOqjK7qSt4myZtzHqaYJCuzw9o168H3JM8GrKGXox iur7xD2qfwkPEniXkpSqGZWZCEB9/cWb8RvAg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=wFvLjOSh78taI7tVkXdsj4h4Z5eFp/zbg0IXzUCQrhQ=; b=PK40+94NZMZR27yIiELL5DKWGEjG9o1/BTp54ruBuG4PxaMDaOQqovA/Nc+OpbD56W Ky+wLH4++sUZbKc5gCMcTUi0Ui0AMieYmgTajELUh8Ky7JODTRTUG/EWj63et4+oYR+F w314Va9vLBIbe9fWgHl5BhspRJe09g7qO65IBtFWhfZ6dJK6nHLfyctetj4sVRl0NqCo /3VQytT6LT6WiFanzTDrYAZ28j0e1Yi0MB+M79C7edmdsfQYgqVqrIliTqJR3q1gE1DQ 98iQXUANNfyZYVdenWNjBipiHmVs1L0lSk/EKkmnO74nqZoxfy+ul5VIwmamN+YXhpbo nEzg== X-Gm-Message-State: AMCzsaWNyjK4WIEo/vFQN3mxlUVn9fvI0g4qkeCr3zmMLDHgYrZYqyfz MidnvD2r+uXvZIIX58VSHygzpYoIQNY= X-Google-Smtp-Source: ABhQp+SZO7WO92aJQECqewcHHrOkxpjwd3Sb1aDPnWnQpK4SULiHPn1LN6ugkkRqhsO4gG2C/ShsZw== X-Received: by 10.223.136.218 with SMTP id g26mr1870336wrg.86.1509454458505; Tue, 31 Oct 2017 05:54:18 -0700 (PDT) Received: from cloudburst.twiddle.net.ASUS (p57A4515F.dip0.t-ipconnect.de. [87.164.81.95]) by smtp.gmail.com with ESMTPSA id e131sm999011wmg.15.2017.10.31.05.54.16 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 31 Oct 2017 05:54:17 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Date: Tue, 31 Oct 2017 13:53:53 +0100 Message-Id: <20171031125358.23377-3-richard.henderson@linaro.org> X-Mailer: git-send-email 2.13.6 In-Reply-To: <20171031125358.23377-1-richard.henderson@linaro.org> References: <20171031125358.23377-1-richard.henderson@linaro.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c0c::243 Subject: [Qemu-devel] [PATCH 2/7] linux-user/hppa: Fix TARGET_SA_* defines X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Helge Deller , riku.voipio@iki.fi, Richard Henderson Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP From: Helge Deller Reviewed-by: Laurent Vivier Signed-off-by: Helge Deller Signed-off-by: Richard Henderson --- linux-user/syscall_defs.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/linux-user/syscall_defs.h b/linux-user/syscall_defs.h index e366183419..38339ecb9a 100644 --- a/linux-user/syscall_defs.h +++ b/linux-user/syscall_defs.h @@ -473,6 +473,14 @@ int do_sigaction(int sig, const struct target_sigaction *act, #define TARGET_SA_RESETHAND 0x00000010 #define TARGET_SA_NOCLDWAIT 0x00000020 /* not supported yet */ #define TARGET_SA_SIGINFO 0x00000040 +#elif defined(TARGET_HPPA) +#define TARGET_SA_ONSTACK 0x00000001 +#define TARGET_SA_RESETHAND 0x00000004 +#define TARGET_SA_NOCLDSTOP 0x00000008 +#define TARGET_SA_SIGINFO 0x00000010 +#define TARGET_SA_NODEFER 0x00000020 +#define TARGET_SA_RESTART 0x00000040 +#define TARGET_SA_NOCLDWAIT 0x00000080 #else #define TARGET_SA_NOCLDSTOP 0x00000001 #define TARGET_SA_NOCLDWAIT 0x00000002 /* not supported yet */