Message ID | 20210928020039.184412-15-richard.henderson@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a02:c816:0:0:0:0:0 with SMTP id p22csp4701769jao; Mon, 27 Sep 2021 19:17:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzvhLnS8a4GMni5E4CMaDzqejYLHCmxjdvwFiX8IARxixay+0mgr2BNjS9dVSXhfbIJb9Y7 X-Received: by 2002:a0c:ab12:: with SMTP id h18mr3342263qvb.55.1632795427750; Mon, 27 Sep 2021 19:17:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632795427; cv=none; d=google.com; s=arc-20160816; b=RGCR/NwOHNQ/MNAQK/c9Fr9xZLgpXjQDg5Q5qGQkR/BxKOepJyVooogwTk28zPZX2I 6LCgyndaWRZtrKZIZR7uzSUlZbNavXxwKYAI1eAht4lZ7QlJbyQ9l3+vj0bsSDbz2uko pjLo5ZvRsXXhiPwwTu/jXf2UBd+fLmoi2inHIIbkVtWjtzQX5EBS/gS9GFDCMN1JTr4O 15y9L1RSXB9rz6WuTW01OXRJUwzMxUBGJ6J+WvLfqyeCg276jNisZKvuefrHQL3QM72n TjbB6vzN9fDYhcGr+kp26aOEcfvMo8d/kcVhZMvtRsUVu/CN+EBQror61TqjOWPDGy1R +kzQ== 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:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=kxfPZ7H57dcm7rNQ+f9pWEPpiqUmhBqRaotBBFRVjb0=; b=ELZ/WYMjbTYhVEADUwzvQ1JAbpBgD/+meVk96AqxEPxv9J+0+2PjwQuuJBG9WbJBcB yKQlcf4h7y3qGjtp2hpXaL3IFC4UtQGlEfDBtaVQhRWDnFIzBHJPRKgOMEExG9JvAxMB bVxVuRywrOIy/9Rrt0sRN8UmOmKgh996S10SXO94INqgQJNO9NC43arccTpYWdAuV5tA iJIWNAloYDuuEyYrZTv6zEJnZTLWYUzMtMA15nfLw1cS97BPYuVSXhcah9huUHYNEslt Pxltg7kP2AEXut7+iRGfyhiqj+p4YbEnAK1q8UqWUs0pB7uTiLPa8/LUwizqvPa22cl1 sT4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=YGa3VXgn; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 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: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id jk5si16609826qvb.26.2021.09.27.19.17.07 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 27 Sep 2021 19:17:07 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=YGa3VXgn; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 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]:47490 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces+patch=linaro.org@nongnu.org>) id 1mV2g7-0000dt-7I for patch@linaro.org; Mon, 27 Sep 2021 22:17:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57512) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <richard.henderson@linaro.org>) id 1mV2QX-0004dh-LB for qemu-devel@nongnu.org; Mon, 27 Sep 2021 22:01:01 -0400 Received: from mail-qk1-x736.google.com ([2607:f8b0:4864:20::736]:38469) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <richard.henderson@linaro.org>) id 1mV2QQ-0005lQ-N9 for qemu-devel@nongnu.org; Mon, 27 Sep 2021 22:00:57 -0400 Received: by mail-qk1-x736.google.com with SMTP id q81so35435937qke.5 for <qemu-devel@nongnu.org>; Mon, 27 Sep 2021 19:00:54 -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 :mime-version:content-transfer-encoding; bh=kxfPZ7H57dcm7rNQ+f9pWEPpiqUmhBqRaotBBFRVjb0=; b=YGa3VXgnsv1ZhAKLGxpTNhGV1j0LVxdubi9hdKKWCT44kE/8Ux7nh0+yT/abpmYAbW A4LsWdffxyBAQ/k6E2Fhwyol/HakzYOgihe58NxsbC2Ns9VMp8A21w7adHe8X5OQWetb Czab4BcHcpKTChCtpOE7qstALQf1e4MjWAvcIZP37P912TN2zMP1EOsDJUkurEUQOxG+ XWBwDQKMiuAWsroT56hHQRne5qSiM77Y3noFwgGNdkJw1SnRTp8EFdhCCUUTKVrECwjf wTJFKslRc/8sJUWJhsp46+Y13fxfUWaC1JwC/srK+QXn2UDceSOYKxbtFYJzle2K7VBi oHUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=kxfPZ7H57dcm7rNQ+f9pWEPpiqUmhBqRaotBBFRVjb0=; b=lbo3XJiW2xdq8RItqd/o8zm11bU9d5bO1zCcV+w0nsBOJF1bLY6MUvvCqy7rll/5S9 4HsbVNUeg/EZEV59wSbs87GmCo08kxLbvCsqhcmIIB4MbqhIkiW9jFmWAFsHUYmQ05RT TUqNQp3xcBdqLljlt+FgsenOntdDkRIpegJ6xTvcDRFGAK7QqFYIBCvddTz8qfIXTm1X jARxSxWspENC7vXB4dkEu4qR8bQnN9A8+HVjBz3HeFJgd1LfuaPNmDBZzjAbBr9k/lgd wLkV8EQO03DvfXa11KqoyudpxW6S371ps4blagUsJ09ADCstpwzXb9HEQh5lzxojU/IS JolA== X-Gm-Message-State: AOAM530hJi3oCzmE2VqH4oGah43RzGXKdQyXdsU8t1Yh+9JjYzLcnSGs 3ZFJMYPEDeBLKhIa0gG/FT2kuViZL5uiUw== X-Received: by 2002:a05:620a:41a:: with SMTP id 26mr3165208qkp.380.1632794453848; Mon, 27 Sep 2021 19:00:53 -0700 (PDT) Received: from localhost.localdomain (cpe-24-31-215-130.sc.res.rr.com. [24.31.215.130]) by smtp.gmail.com with ESMTPSA id g12sm12530370qtm.59.2021.09.27.19.00.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Sep 2021 19:00:53 -0700 (PDT) From: Richard Henderson <richard.henderson@linaro.org> To: qemu-devel@nongnu.org Subject: [PATCH v4 14/25] linux-user/mips: Tidy install_sigtramp Date: Mon, 27 Sep 2021 22:00:28 -0400 Message-Id: <20210928020039.184412-15-richard.henderson@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210928020039.184412-1-richard.henderson@linaro.org> References: <20210928020039.184412-1-richard.henderson@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::736; envelope-from=richard.henderson@linaro.org; helo=mail-qk1-x736.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <https://lists.nongnu.org/archive/html/qemu-devel> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Cc: peter.maydell@linaro.org, laurent@vivier.eu, =?utf-8?q?Philippe_Mathie?= =?utf-8?q?u-Daud=C3=A9?= <f4bug@amsat.org> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patch=linaro.org@nongnu.org> |
Series |
linux-user: Move signal trampolines to new page
|
expand
|
diff --git a/linux-user/mips/signal.c b/linux-user/mips/signal.c index d174b3453c..64072779b9 100644 --- a/linux-user/mips/signal.c +++ b/linux-user/mips/signal.c @@ -87,10 +87,8 @@ struct target_rt_sigframe { }; /* Install trampoline to jump back from signal handler */ -static inline int install_sigtramp(unsigned int *tramp, unsigned int syscall) +static void install_sigtramp(uint32_t *tramp, unsigned int syscall) { - int err = 0; - /* * Set up the return code ... * @@ -100,7 +98,6 @@ static inline int install_sigtramp(unsigned int *tramp, unsigned int syscall) __put_user(0x24020000 + syscall, tramp + 0); __put_user(0x0000000c , tramp + 1); - return err; } static inline void setup_sigcontext(CPUMIPSState *regs,