From patchwork Tue Nov 3 19:46:33 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Palmer Dabbelt X-Patchwork-Id: 7546531 Return-Path: X-Original-To: patchwork-linux-fsdevel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 4926D9F2F7 for ; Tue, 3 Nov 2015 19:48:12 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 54436206D5 for ; Tue, 3 Nov 2015 19:48:11 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 43C79206FB for ; Tue, 3 Nov 2015 19:48:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755996AbbKCTrv (ORCPT ); Tue, 3 Nov 2015 14:47:51 -0500 Received: from mail-pa0-f52.google.com ([209.85.220.52]:34519 "EHLO mail-pa0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932572AbbKCTrB (ORCPT ); Tue, 3 Nov 2015 14:47:01 -0500 Received: by padhx2 with SMTP id hx2so19312896pad.1 for ; Tue, 03 Nov 2015 11:47: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: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:cc:subject :date:message-id:in-reply-to:references; bh=liLt98OBvtGr3tCMC9Iax/yTEhiBXGdT4UH95cKW4Gg=; b=Kfx+086EaCvHn7G/V81D3kGc7RHOKeHe5vPIzQzr1d92FAzhrOJexYeBAacXXApVUu E/lFp7t3Qs0rZjV8afkARfelcaKnKodbIvlj60K2zgQEXizZOjCGEvE48YBwwdZ1nv2L ZYjuo0t82vUNyuarabOW4c9xYnryFspdgBWnxD8HyPZspH5jbzM1yMJ8l7arFheFoGPr GOJyKRHa5s/KNNnNR1knWmvggHFM06e2VEsEvZjjnWjDbk/0K0Zwggf7Lu4LkAbLIMZm pfFhriazqlDS6/rszIeGcKM5xv7t0shFu2RiQXGdGFpk4kv0AreQB61Wgm0DC3p2Unui JBEQ== 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: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:cc:subject:date:message-id:in-reply-to:references; bh=liLt98OBvtGr3tCMC9Iax/yTEhiBXGdT4UH95cKW4Gg=; b=DM8j9pQWSLsSI+BPHLdybHHuZ/5gEywYzVxI47c9C/hmulpqe0hkYI6en/HKvS1u8y AkVW+5Ej49sSpB3Wx30abPFYOyGLzrDnAN6Aek9+GxG+1YrjoJ+fFB2UEi9kp1kn5u1q 9vX2BwQqOqPjKrV4aGNlagyQ++it7tj9jzbdJ+yE61U90vGda0XiYavG9EASNc3ENL7S FAR9FaYxWOWwLYUdtHwHPOprydEwUCafzxC0pHmmGTmLawkim4GR8JbY/+hFx5fOBLWH yGg6qQmU5TLdq3tpiex/7+O/9plij5VEfI1tI0bCMYEnmccJjUNkNPV3Vv96NjzyfeMx 7kKg== X-Gm-Message-State: ALoCoQmV/OrNbBRYxDD8M7jQbrBbJkVnz2Ra8PTRmeKc9EARZQaJCxYamTCLGDvzT9XU4vbeIRfY X-Received: by 10.68.211.132 with SMTP id nc4mr36377703pbc.16.1446580020650; Tue, 03 Nov 2015 11:47:00 -0800 (PST) Received: from localhost (dhcp-39-103.EECS.Berkeley.EDU. [128.32.39.103]) by smtp.gmail.com with ESMTPSA id by6sm31066524pab.25.2015.11.03.11.47.00 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 03 Nov 2015 11:47:00 -0800 (PST) From: Palmer Dabbelt To: arnd@arndb.de To: dhowells@redhat.com 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: kexec@lists.infradead.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/13] Remove AT_VECTOR_SIZE_ARCH on x86 Date: Tue, 3 Nov 2015 11:46:33 -0800 Message-Id: <1446579994-9937-13-git-send-email-palmer@dabbelt.com> X-Mailer: git-send-email 2.4.10 In-Reply-To: <1446579994-9937-1-git-send-email-palmer@dabbelt.com> References: <1442271047-4908-1-git-send-email-palmer@dabbelt.com> <1446579994-9937-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=-6.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID,T_RP_MATCHES_RCVD,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 */