Received: by 10.213.65.68 with SMTP id h4csp1103038imn; Wed, 14 Mar 2018 09:40:29 -0700 (PDT) X-Google-Smtp-Source: AG47ELsomqQthIB0bYYjbVK+Ph7wSWyhBjviFLfQijjRsmvUUH4jdQjonk3+vmlm/iEHBH8v6RNa X-Received: by 2002:a17:902:9882:: with SMTP id s2-v6mr4607867plp.196.1521045629815; Wed, 14 Mar 2018 09:40:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521045629; cv=none; d=google.com; s=arc-20160816; b=je2K5HU0mNp6lsfcM7pgHCuxX1L2ZWtFpXB8RV5WdP1UY7Be9eJuimUkQbbfHW5GTq SYxtNIHHK5zaNE195haLdHilnFVBnow8YOp2SNcs1hAkl+fEJTROdub4iTpNVZDr0cUI EDZ4i8LyDxRUS1zqerrZdo04O0f/BpSKlhMrpfi66uHrzny4jKhT8TA4pVQLJA4HlrAm 6ulIQcZ2FMtfAitUud8yNS/M6NyaYtLjjOPPQFbGTDrISezcJIfJPmtppekXYTkMl0fT txhXAS2Br4xts5IjE6slOKcitaI/Fb0TWt+H9Dj1WPRaaHJA062jTDTYA856Uu5Sk2X2 uL8Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:subject:mime-version:user-agent :message-id:in-reply-to:date:references:cc:to:from :arc-authentication-results; bh=bl2o6XVhOnn3PvuIAc3g5PQ0Bkk6Fd6vRb7PiP1K1dA=; b=ajsFc/4NpCSnZBSRPZciyx4Vs1lNrUwAY/dbVIAXZ4hZQY7KHJtqwHJRMpx2toe0id fiFlL9G+GXFVAR1EGMleoUgZozdCvVy7cauMX2ycXHF4Jmh4wkDo3X1ph2AOKZOKtSAM odUcx7D95Akjm858J2Xb9niU0CREKAg9DRQ3YG77XdQNpQdv63EDXbLfXDOGWCIatLy2 5mXLbigOVotNrpTW5ofJeKjgcrAG42cttDIjQS0s0Fv7nxGN0X/HVEvlOjnwNeqPZoNn 5aValSdG7qgn1NLcPuy35mQjqnuIV+TQCZHldVhVxUHgW2mmEtHtg4fiiDpePFhKup9i wgAA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m39-v6si2221129plg.151.2018.03.14.09.40.15; Wed, 14 Mar 2018 09:40:29 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752191AbeCNQjV (ORCPT + 99 others); Wed, 14 Mar 2018 12:39:21 -0400 Received: from out03.mta.xmission.com ([166.70.13.233]:56419 "EHLO out03.mta.xmission.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751353AbeCNQjR (ORCPT ); Wed, 14 Mar 2018 12:39:17 -0400 Received: from in02.mta.xmission.com ([166.70.13.52]) by out03.mta.xmission.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.87) (envelope-from ) id 1ew9Qq-0004jb-No; Wed, 14 Mar 2018 10:39:16 -0600 Received: from 174-19-85-160.omah.qwest.net ([174.19.85.160] helo=x220.xmission.com) by in02.mta.xmission.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.87) (envelope-from ) id 1ew9Qq-00050Y-3f; Wed, 14 Mar 2018 10:39:16 -0600 From: ebiederm@xmission.com (Eric W. Biederman) To: Arnd Bergmann Cc: linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org, Al Viro , Thomas Gleixner References: <20180314143529.1456168-1-arnd@arndb.de> <20180314144614.1632190-1-arnd@arndb.de> <20180314144614.1632190-2-arnd@arndb.de> Date: Wed, 14 Mar 2018 11:38:29 -0500 In-Reply-To: <20180314144614.1632190-2-arnd@arndb.de> (Arnd Bergmann's message of "Wed, 14 Mar 2018 15:43:47 +0100") Message-ID: <87r2ompq7u.fsf@xmission.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-XM-SPF: eid=1ew9Qq-00050Y-3f;;;mid=<87r2ompq7u.fsf@xmission.com>;;;hst=in02.mta.xmission.com;;;ip=174.19.85.160;;;frm=ebiederm@xmission.com;;;spf=neutral X-XM-AID: U2FsdGVkX1+rqR9pQqZ+uoiSJUgqrH3PIR8FyfSd5m8= X-SA-Exim-Connect-IP: 174.19.85.160 X-SA-Exim-Mail-From: ebiederm@xmission.com X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on sa05.xmission.com X-Spam-Level: ** X-Spam-Status: No, score=2.0 required=8.0 tests=ALL_TRUSTED,BAYES_50, DCC_CHECK_NEGATIVE,TVD_RCVD_IP,T_TM2_M_HEADER_IN_MSG,T_TooManySym_01, XMNoVowels,XMSubLong autolearn=disabled version=3.4.1 X-Spam-Report: * -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP * 0.0 TVD_RCVD_IP Message was received from an IP address * 1.5 XMNoVowels Alpha-numberic number with no vowels * 0.7 XMSubLong Long Subject * 0.0 T_TM2_M_HEADER_IN_MSG BODY: No description available. * 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% * [score: 0.5000] * -0.0 DCC_CHECK_NEGATIVE Not listed in DCC * [sa05 1397; Body=1 Fuz1=1 Fuz2=1] * 0.0 T_TooManySym_01 4+ unique symbols in subject X-Spam-DCC: XMission; sa05 1397; Body=1 Fuz1=1 Fuz2=1 X-Spam-Combo: **;Arnd Bergmann X-Spam-Relay-Country: X-Spam-Timing: total 316 ms - load_scoreonly_sql: 0.05 (0.0%), signal_user_changed: 3.4 (1.1%), b_tie_ro: 2.3 (0.7%), parse: 1.44 (0.5%), extract_message_metadata: 22 (6.9%), get_uri_detail_list: 3.7 (1.2%), tests_pri_-1000: 10 (3.1%), tests_pri_-950: 1.69 (0.5%), tests_pri_-900: 1.34 (0.4%), tests_pri_-400: 30 (9.5%), check_bayes: 29 (9.1%), b_tokenize: 12 (3.8%), b_tok_get_all: 8 (2.7%), b_comp_prob: 2.8 (0.9%), b_tok_touch_all: 3.3 (1.0%), b_finish: 0.71 (0.2%), tests_pri_0: 234 (74.1%), check_dkim_signature: 0.66 (0.2%), check_dkim_adsp: 4.1 (1.3%), tests_pri_500: 8 (2.5%), rewrite_mail: 0.00 (0.0%) Subject: Re: [PATCH 12/16] asm-generic: siginfo: remove obsolete #ifdefs X-Spam-Flag: No X-SA-Exim-Version: 4.2.1 (built Thu, 05 May 2016 13:38:54 -0600) X-SA-Exim-Scanned: Yes (on in02.mta.xmission.com) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Arnd Bergmann writes: > The frv, tile and blackfin architectures are being removed, so > we can clean up this header by removing all the special cases > except those for ia64. Acked-by: "Eric W. Biederman" > > Signed-off-by: Arnd Bergmann > --- > include/uapi/asm-generic/siginfo.h | 36 ++---------------------------------- > 1 file changed, 2 insertions(+), 34 deletions(-) > > diff --git a/include/uapi/asm-generic/siginfo.h b/include/uapi/asm-generic/siginfo.h > index 85dc965afd89..b2ebf16c391a 100644 > --- a/include/uapi/asm-generic/siginfo.h > +++ b/include/uapi/asm-generic/siginfo.h > @@ -179,28 +179,13 @@ typedef struct siginfo { > * SIGILL si_codes > */ > #define ILL_ILLOPC 1 /* illegal opcode */ > -#ifdef __bfin__ > -# define ILL_ILLPARAOP 2 /* illegal opcode combine */ > -#endif > #define ILL_ILLOPN 2 /* illegal operand */ > #define ILL_ILLADR 3 /* illegal addressing mode */ > #define ILL_ILLTRP 4 /* illegal trap */ > -#ifdef __bfin__ > -# define ILL_ILLEXCPT 4 /* unrecoverable exception */ > -#endif > #define ILL_PRVOPC 5 /* privileged opcode */ > #define ILL_PRVREG 6 /* privileged register */ > #define ILL_COPROC 7 /* coprocessor error */ > #define ILL_BADSTK 8 /* internal stack error */ > -#ifdef __bfin__ > -# define ILL_CPLB_VI 9 /* D/I CPLB protect violation */ > -# define ILL_CPLB_MISS 10 /* D/I CPLB miss */ > -# define ILL_CPLB_MULHIT 11 /* D/I CPLB multiple hit */ > -#endif > -#ifdef __tile__ > -# define ILL_DBLFLT 9 /* double fault */ > -# define ILL_HARDWALL 10 /* user networks hardwall violation */ > -#endif > #ifdef __ia64__ > # define ILL_BADIADDR 9 /* unimplemented instruction address */ > # define __ILL_BREAK 10 /* illegal break */ > @@ -219,9 +204,6 @@ typedef struct siginfo { > #define FPE_FLTRES 6 /* floating point inexact result */ > #define FPE_FLTINV 7 /* floating point invalid operation */ > #define FPE_FLTSUB 8 /* subscript out of range */ > -#ifdef __frv__ > -# define FPE_MDAOVF 9 /* media overflow */ > -#endif > #ifdef __ia64__ > # define __FPE_DECOVF 9 /* decimal overflow */ > # define __FPE_DECDIV 10 /* decimal division by zero */ > @@ -236,11 +218,7 @@ typedef struct siginfo { > */ > #define SEGV_MAPERR 1 /* address not mapped to object */ > #define SEGV_ACCERR 2 /* invalid permissions for mapped object */ > -#ifdef __bfin__ > -# define SEGV_STACKFLOW 3 /* stack overflow */ > -#else > -# define SEGV_BNDERR 3 /* failed address bound checks */ > -#endif > +#define SEGV_BNDERR 3 /* failed address bound checks */ > #ifdef __ia64__ > # define __SEGV_PSTKOVF 4 /* paragraph stack overflow */ > #else > @@ -254,12 +232,8 @@ typedef struct siginfo { > #define BUS_ADRALN 1 /* invalid address alignment */ > #define BUS_ADRERR 2 /* non-existent physical address */ > #define BUS_OBJERR 3 /* object specific hardware error */ > -#ifdef __bfin__ > -# define BUS_OPFETCH 4 /* error from instruction fetch */ > -#else > /* hardware memory error consumed on a machine check: action required */ > -# define BUS_MCEERR_AR 4 > -#endif > +#define BUS_MCEERR_AR 4 > /* hardware memory error detected in process but not consumed: action optional*/ > #define BUS_MCEERR_AO 5 > #define NSIGBUS 5 > @@ -271,12 +245,6 @@ typedef struct siginfo { > #define TRAP_TRACE 2 /* process trace trap */ > #define TRAP_BRANCH 3 /* process taken branch trap */ > #define TRAP_HWBKPT 4 /* hardware breakpoint/watchpoint */ > -#ifdef __bfin__ > -# define TRAP_STEP 1 /* single-step breakpoint */ > -# define TRAP_TRACEFLOW 2 /* trace buffer overflow */ > -# define TRAP_WATCHPT 3 /* watchpoint match */ > -# define TRAP_ILLTRAP 4 /* illegal trap */ > -#endif > #define NSIGTRAP 4 > > /*