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: 117618 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp3880023qgn; Tue, 31 Oct 2017 05:59:49 -0700 (PDT) X-Google-Smtp-Source: ABhQp+S6C5qhgl2/k9n1oZ6NMSA+AyGYkLpUz7+2ohqMGpddlZD89M+Fg7WeoqtmVNQqmo7Cq0qb X-Received: by 10.13.217.142 with SMTP id b136mr1103458ywe.51.1509454788951; Tue, 31 Oct 2017 05:59:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509454788; cv=none; d=google.com; s=arc-20160816; b=bbV1syxz5LnjQNj81hfW84NHUO236WDxQyqW7KhthIg+oMbQs2NyaHcfpHSkpblh6r EpR7ivGKz33J6IO7NU2HwArMZFby+pYD7Maq5rUqxlDt7Zh74/LQT2sKS6RlmwvKBr77 o4+hn5qnsVjCiwsm+zMQB+jLlFRfEO1MQBRn3IiUZbmr2My2kFwga7XC6COmEbkK+fnE uP3Rt2QY10K5ziQY0nb8fewcG31udZTllY+1EtVaYbRr0+stBJ5+2XH8Bqo50DccbXBx pw4n8s3WwcGeY3tthHGJ9zeSl2ke9hZBCQFvHbQWqy5I3jYx56dtXOpKk7pCjiYmKG2j KEpA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:references:in-reply-to :message-id:date:to:from:dkim-signature:arc-authentication-results; bh=wFvLjOSh78taI7tVkXdsj4h4Z5eFp/zbg0IXzUCQrhQ=; b=0P4j9VM1fCaTSXrTpol4GgkS207ybRlPEag9PX6csoKz/KLMFWSv+NU8vmnQjSwWkV GcD8upzAdx0U5vn71QyHtSbccS3Qx6swLmqikHLBo21KA4aLaf4tdZ0pH8rZqBvKzFI6 i/+uYyCbojE1hBJGAxRk6Gghk8XUYRM8TiqZjuTtjxZHLjMwVJRUtNznj93RNWC/ROfm 0TAWgfLgJO795OZgolXqnP3u2JXl8d2XmCGjm8gdwq84CjX4kEmPzWGImXhp5U0vYZRp ujfXIxD9JWsyM+7aInLuKAjQtYRxs69n5VPBdigcQIU4y9g+Il/oIufpjT0Rlz9pc8iF yX2A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=V4wS4uqt; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id b63si372029ywf.299.2017.10.31.05.59.48 for (version=TLS1 cipher=AES128-SHA bits=128/128); Tue, 31 Oct 2017 05:59:48 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=V4wS4uqt; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:45523 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e9W8y-0006Pf-H1 for patch@linaro.org; Tue, 31 Oct 2017 08:59:48 -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-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+patch=linaro.org@nongnu.org Sender: "Qemu-devel" 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(+) -- 2.13.6 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 */