From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933083AbdCKNep (ORCPT ); Sat, 11 Mar 2017 08:34:45 -0500 Received: from terminus.zytor.com ([65.50.211.136]:37748 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755554AbdCKNej (ORCPT ); Sat, 11 Mar 2017 08:34:39 -0500 Date: Sat, 11 Mar 2017 05:34:03 -0800 From: tip-bot for Mathias Krause Message-ID: Cc: tglx@linutronix.de, davem@davemloft.net, geert@linux-m68k.org, mingo@kernel.org, linux-kernel@vger.kernel.org, minipli@googlemail.com, akpm@linux-foundation.org, jesper.nilsson@axis.com, starvik@axis.com, bp@alien8.de, hpa@zytor.com Reply-To: minipli@googlemail.com, bp@alien8.de, hpa@zytor.com, jesper.nilsson@axis.com, starvik@axis.com, akpm@linux-foundation.org, tglx@linutronix.de, mingo@kernel.org, geert@linux-m68k.org, davem@davemloft.net, linux-kernel@vger.kernel.org In-Reply-To: <1486933932-585-2-git-send-email-minipli@googlemail.com> References: <1486933932-585-2-git-send-email-minipli@googlemail.com> To: linux-tip-commits@vger.kernel.org Subject: [tip:x86/cpu] x86/cpu: Drop unneded members of struct cpuinfo_x86 Git-Commit-ID: 04402116846f36adea9503d7cd5104a7ed27a1a6 X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit-ID: 04402116846f36adea9503d7cd5104a7ed27a1a6 Gitweb: http://git.kernel.org/tip/04402116846f36adea9503d7cd5104a7ed27a1a6 Author: Mathias Krause AuthorDate: Sun, 12 Feb 2017 22:12:07 +0100 Committer: Thomas Gleixner CommitDate: Sat, 11 Mar 2017 14:30:23 +0100 x86/cpu: Drop unneded members of struct cpuinfo_x86 Those member serve no purpose -- not even fill padding for alignment or such. So just get rid of them. Signed-off-by: Mathias Krause Acked-by: Borislav Petkov Cc: Jesper Nilsson Cc: Mikael Starvik Cc: Geert Uytterhoeven Cc: Andrew Morton Cc: "David S. Miller" Link: http://lkml.kernel.org/r/1486933932-585-2-git-send-email-minipli@googlemail.com Signed-off-by: Thomas Gleixner --- arch/x86/include/asm/processor.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/arch/x86/include/asm/processor.h b/arch/x86/include/asm/processor.h index f385eca..893f80e 100644 --- a/arch/x86/include/asm/processor.h +++ b/arch/x86/include/asm/processor.h @@ -80,7 +80,7 @@ extern u16 __read_mostly tlb_lld_1g[NR_INFO]; /* * CPU type and hardware bug flags. Kept separately for each CPU. - * Members of this structure are referenced in head.S, so think twice + * Members of this structure are referenced in head_32.S, so think twice * before touching them. [mj] */ @@ -91,11 +91,6 @@ struct cpuinfo_x86 { __u8 x86_mask; #ifdef CONFIG_X86_32 char wp_works_ok; /* It doesn't on 386's */ - - /* Problems on some 486Dx4's and old 386's: */ - char rfu; - char pad0; - char pad1; #else /* Number of 4K pages in DTLB/ITLB combined(in pages): */ int x86_tlbsize;