From patchwork Sat Oct 17 00:12:27 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Collingbourne X-Patchwork-Id: 11842461 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9726FC433E7 for ; Sat, 17 Oct 2020 00:14:56 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 19CE322203 for ; Sat, 17 Oct 2020 00:14:56 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="eaZ0sDDO"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=google.com header.i=@google.com header.b="MDFvcv8k" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 19CE322203 Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=google.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:To:From:Subject:References:Mime-Version:Message-Id: In-Reply-To:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=3z5BkjyCa9ogVUIhvZAbIX2Sn3RcggcuZf3dCFpXqeo=; b=eaZ0sDDO+SElPIrHyge2MwSCz Kau2I7ke9WXNijY7RNTcbQqnyavL3SBGa8Jv1VX1arZvs17wpGpCLMSpgE9kHVdSKwK4DmI/rjkSR SWg2FrJVfYmuhfIRbdMD3uRa3Q8M3zFigE2A/18Amx1Pfv2qaFFwUfhtYskF2DwfNx8drsArR1lIK Dgil4mRLcwniLUFuX4XBgRAg88wHEttkc+6EsRkiI4YXsUSbFUJl0UAJSOwvI2s1mV6gYI2gG0QdI KWXau5wCPNQClgarnW/Gk567vy/u8avUBZKTF4q5bn3lau4mrTXGF76AS98GsaxHmWyIebpi62vpS jvzL648hw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kTZqD-0001xk-S0; Sat, 17 Oct 2020 00:12:57 +0000 Received: from mail-qv1-xf4a.google.com ([2607:f8b0:4864:20::f4a]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kTZq8-0001w5-GU for linux-arm-kernel@lists.infradead.org; Sat, 17 Oct 2020 00:12:53 +0000 Received: by mail-qv1-xf4a.google.com with SMTP id y45so2493346qve.15 for ; Fri, 16 Oct 2020 17:12:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=sender:date:in-reply-to:message-id:mime-version:references:subject :from:to:cc; bh=aYpxhhD4duAO9de94sHUgpMd1KkZSLoauYX6InAb7u4=; b=MDFvcv8kICkTbf/GMxS+8dDS/nI24BnQvmD950uRJSZQtjFpYJ8JQX3iYflDX4RhKG E6jr1hd4kfwzPbMH11guRISx+bynQ6IHz42Hx1/v1wj5iEhnyJAsbId1qiqLcy9bsiGq 8mRHapErUeyQxh4cEuXMJWtojjJBzam0dR3+NT6RK7fr/sO7u23NZ/qfS8zrbcGtDC8N wp9bx5R2ULxL7hSnQCBr6J11W/BwU9v4N22fmLL5lTAz9YsEwcVq/3ot721EK/7FTh/z TTadz0hp2avGn9qi936Xk+prrOTjqyie9dGSB0pXsizY17fTNco3NSP18Hs5ZJKsFdB8 ptRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:in-reply-to:message-id:mime-version :references:subject:from:to:cc; bh=aYpxhhD4duAO9de94sHUgpMd1KkZSLoauYX6InAb7u4=; b=Jr9FACqRTGdsoloRhVImK0A2AGzKsA1qbU7pUJEinGuWOWXKHgNkUm40qith7/7fvY ZVzOQKX9v54jTLlAiettr9FS3cCkMXAdjyHsA9cqc1VkghLnB7ThZToNtO9E9OS0ZsBd vSn9V/zqhh6hTU3KdgmOP+UpM9J7kD+pSPKQTpY3im9/m1TRM0h1dusndBk8DsdovYG6 bvf4q1jlDc023SV0BJBwX+1vOKvWo1avIFXLNxyvbkiQRXnOr85HbQwykm1VSs6UnnqF vTRmCCZxkCVJNuTLpyrtkZ3nYXBazJdxZ5GoFnz9ry0sowgcO7Azcf1P/T3y7SoJjEMs QF1A== X-Gm-Message-State: AOAM532+kaM+WvbqAJM9sBbd5wVfa20q+S+Eotn3UdIYh7uhT4J6bU5S cZqLZIdrWglXu4RXr/J6FwtNhPI= X-Google-Smtp-Source: ABdhPJwtLLT+7jeckcyazP8ZzIw3ameejoqutON9ep2YPLeEb8YpJ3jXjGWYE3dIbDUd38bTxNu3gV0= X-Received: from pcc-desktop.svl.corp.google.com ([2620:15c:2ce:0:7220:84ff:fe09:385a]) (user=pcc job=sendgmr) by 2002:ad4:4391:: with SMTP id s17mr6769291qvr.60.1602893568791; Fri, 16 Oct 2020 17:12:48 -0700 (PDT) Date: Fri, 16 Oct 2020 17:12:27 -0700 In-Reply-To: Message-Id: <24475691e22fafbeafb99bad819c2df200b0408a.1602892799.git.pcc@google.com> Mime-Version: 1.0 References: X-Mailer: git-send-email 2.29.0.rc1.297.gfa9743e501-goog Subject: [PATCH v12 2/8] parisc: start using signal-defs.h From: Peter Collingbourne To: Catalin Marinas , Evgenii Stepanov , Kostya Serebryany , Vincenzo Frascino , Dave Martin , Will Deacon , Oleg Nesterov , "Eric W. Biederman" , "James E.J. Bottomley" X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201016_201252_604007_C1A19430 X-CRM114-Status: GOOD ( 11.82 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Andrey Konovalov , Helge Deller , Kevin Brodsky , linux-api@vger.kernel.org, David Spickett , Peter Collingbourne , Linux ARM , Richard Henderson Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org We currently include signal-defs.h on all architectures except parisc. Make parisc fall in line. This will make maintenance easier once the flag bits are moved here. Signed-off-by: Peter Collingbourne Acked-by: Helge Deller Link: https://linux-review.googlesource.com/id/If03a5135fb514fe96548fb74610e6c3586a04064 --- arch/parisc/include/uapi/asm/signal.h | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/arch/parisc/include/uapi/asm/signal.h b/arch/parisc/include/uapi/asm/signal.h index d9c51769851a..9e6f87bc8a73 100644 --- a/arch/parisc/include/uapi/asm/signal.h +++ b/arch/parisc/include/uapi/asm/signal.h @@ -68,14 +68,7 @@ #define MINSIGSTKSZ 2048 #define SIGSTKSZ 8192 - -#define SIG_BLOCK 0 /* for blocking signals */ -#define SIG_UNBLOCK 1 /* for unblocking signals */ -#define SIG_SETMASK 2 /* for setting the signal mask */ - -#define SIG_DFL ((__sighandler_t)0) /* default signal handling */ -#define SIG_IGN ((__sighandler_t)1) /* ignore signal */ -#define SIG_ERR ((__sighandler_t)-1) /* error return from signal */ +#include # ifndef __ASSEMBLY__ @@ -84,10 +77,6 @@ /* Avoid too many header ordering problems. */ struct siginfo; -/* Type of a signal handler. */ -typedef void __signalfn_t(int); -typedef __signalfn_t __user *__sighandler_t; - typedef struct sigaltstack { void __user *ss_sp; int ss_flags;