From patchwork Tue Nov 10 01:31:09 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Palmer Dabbelt X-Patchwork-Id: 7587441 Return-Path: X-Original-To: patchwork-linux-fsdevel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 98B50C05C6 for ; Tue, 10 Nov 2015 01:36:06 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id BB6BD205D8 for ; Tue, 10 Nov 2015 01:36:05 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C4B49205BB for ; Tue, 10 Nov 2015 01:36:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752681AbbKJBe5 (ORCPT ); Mon, 9 Nov 2015 20:34:57 -0500 Received: from mail-pa0-f41.google.com ([209.85.220.41]:36260 "EHLO mail-pa0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752458AbbKJBcB (ORCPT ); Mon, 9 Nov 2015 20:32:01 -0500 Received: by pacdm15 with SMTP id dm15so192692821pac.3 for ; Mon, 09 Nov 2015 17:32:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dabbelt_com.20150623.gappssmtp.com; s=20150623; h=from:to:to:to:cc:cc:cc:cc:cc:cc:cc:cc:cc:cc:cc:cc:cc:cc:cc:cc:cc:cc :cc:cc:cc:cc:cc:cc:cc:cc:cc:cc:cc:cc:cc:cc:cc:cc:cc:cc:cc:subject :date:message-id:in-reply-to:references; bh=liLt98OBvtGr3tCMC9Iax/yTEhiBXGdT4UH95cKW4Gg=; b=U0N1ustOUd7rMTmDS1j8jnqop4VH5oB3DaCq7xum+9Wq0iAJpTu6Mp4533Z/Us2xQD uPVQd6+qAl9vPvwvw7q43L3gSkFbMyDd5QdG6nIqcxeQ7WxA2megTyir0vC5OiE9IIuX 60HmaFa65xLRHucPTD0/r8UN9s3G0Fg0QPSVZsqJTYpm7zoNkWUtqmBTUHzVfVTPk9pA D/3tVlvOphzw1BlCPq5LSgxq/+5ni/EHTnOcqOLzGpc95Tx08b/9o23EJiWmNDQlnWu4 jgwSrdAwvW0fm5opjpJ7PNipXvlWar999kAwZPKxdsI0q4PvwekASp2porU9CvBP9T5+ 7Dlw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:to:to:cc:cc:cc:cc:cc:cc:cc:cc:cc:cc:cc :cc:cc:cc:cc:cc:cc:cc:cc:cc:cc:cc:cc:cc:cc:cc:cc:cc:cc:cc:cc:cc:cc :cc:cc:cc:cc:subject:date:message-id:in-reply-to:references; bh=liLt98OBvtGr3tCMC9Iax/yTEhiBXGdT4UH95cKW4Gg=; b=fnrwwwBmhHi+BI49uYv0rAGJ25ql5Grfqe2UUWoi8rEQWk3uaaF5C4OEwhXxLCNkXu RYJwss2nLpRh/yrprO3nqGYhVH7XfTxJAf9jHCEl8TeUBIorzJym2CCXbNj3QCHSaBWl sRSFfE1mnha578QkxiDpTf+FecgLhg73gYOtpEZ9llv/a66JpORlesscf/yJHk032p2C ERn9MooNKkidoXIgoB9AWIIikieuCBkXbE3EIDvuo+LDxpgUMjWclp3Fs3IXp5euET8G hNJ1ymEY3aQkYZbdeZm9kzOHDvUSyF8cNrXXVhlFTPrsx7JmwlaF2hwQmL6/YWHRqIRq tJGQ== X-Gm-Message-State: ALoCoQnijNFJKYcyt0whv1ImmxbtPi5nfAwdJ1juto5Sic1UHbMAKkugI0eyo6QcB3iqM93/ezQb X-Received: by 10.66.122.145 with SMTP id ls17mr1532484pab.11.1447119120596; Mon, 09 Nov 2015 17:32:00 -0800 (PST) Received: from localhost (wap-cal.CS.Berkeley.EDU. [128.32.35.228]) by smtp.gmail.com with ESMTPSA id hq1sm602212pbb.43.2015.11.09.17.31.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 09 Nov 2015 17:31:59 -0800 (PST) From: Palmer Dabbelt To: arnd@arndb.de To: dhowells@redhat.com To: peterz@infradead.org Cc: viro@zeniv.linux.org.uk Cc: ast@plumgrid.com Cc: aishchuk@linux.vnet.ibm.com Cc: aarcange@redhat.com Cc: akpm@linux-foundation.org Cc: luto@kernel.org Cc: acme@kernel.org Cc: bhe@redhat.com Cc: 3chas3@gmail.com Cc: chris@zankel.net Cc: dave@sr71.net Cc: dyoung@redhat.com Cc: drysdale@google.com Cc: davem@davemloft.net Cc: ebiederm@xmission.com Cc: geoff@infradead.org Cc: gregkh@linuxfoundation.org Cc: hpa@zytor.com Cc: mingo@kernel.org Cc: iulia.manda21@gmail.com Cc: plagnioj@jcrosoft.com Cc: jikos@kernel.org Cc: josh@joshtriplett.org Cc: linux-api@vger.kernel.org Cc: linux-arch@vger.kernel.org Cc: linux-fsdevel@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc: linux-xtensa@linux-xtensa.org Cc: mathieu.desnoyers@efficios.com Cc: jcmvbkbc@gmail.com Cc: paulmck@linux.vnet.ibm.com Cc: a.p.zijlstra@chello.nl Cc: tglx@linutronix.de Cc: tomi.valkeinen@ti.com Cc: vgoyal@redhat.com Cc: x86@kernel.org Cc: Palmer Dabbelt Subject: [PATCH 12/14] Remove AT_VECTOR_SIZE_ARCH on x86 Date: Mon, 9 Nov 2015 17:31:09 -0800 Message-Id: <1447119071-19392-13-git-send-email-palmer@dabbelt.com> X-Mailer: git-send-email 2.4.10 In-Reply-To: <1447119071-19392-1-git-send-email-palmer@dabbelt.com> References: <1446579994-9937-1-git-send-email-palmer@dabbelt.com> <1447119071-19392-1-git-send-email-palmer@dabbelt.com> Sender: linux-fsdevel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP It looks like there aren't actually users of this macro anywhere: * The kernel doesn't use it on x86 because we don't suppor ELF FDPIC. * The only Google results point to LMKL patches, both the one that wrote this (from 2010) and my patch to hide it behind __KERNEL__. * I grep'd through all the source tarballs on my machine, and the only packages that matched were the kernel and crui (which copied a PPC kernel header). Since I'm not sure how to actually provide the right answer (if I understand correctly, CONFIG_IA32_EMULATION is not __i386__), the only thing I can think of to do is to just remove the definition. Signed-off-by: Palmer Dabbelt Reviewed-by: Andrew Waterman Reviewed-by: Albert Ou --- arch/x86/include/uapi/asm/auxvec.h | 7 ------- 1 file changed, 7 deletions(-) diff --git a/arch/x86/include/uapi/asm/auxvec.h b/arch/x86/include/uapi/asm/auxvec.h index 77203ac..1316b4c 100644 --- a/arch/x86/include/uapi/asm/auxvec.h +++ b/arch/x86/include/uapi/asm/auxvec.h @@ -9,11 +9,4 @@ #endif #define AT_SYSINFO_EHDR 33 -/* entries in ARCH_DLINFO: */ -#if defined(CONFIG_IA32_EMULATION) || !defined(CONFIG_X86_64) -# define AT_VECTOR_SIZE_ARCH 2 -#else /* else it's non-compat x86-64 */ -# define AT_VECTOR_SIZE_ARCH 1 -#endif - #endif /* _ASM_X86_AUXVEC_H */