From: akpm@linux-foundation.org Subject: [merged] hwpoison-remove-unused-global-variable-in-do_machine_check.patch removed from -mm tree Date: Thu, 05 Jun 2014 12:53:11 -0700 Message-ID: <5390caa7.x41EJ+a20EKNvm8A%akpm@linux-foundation.org> Reply-To: linux-kernel@vger.kernel.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from mail.linuxfoundation.org ([140.211.169.12]:56549 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751671AbaFETxM (ORCPT ); Thu, 5 Jun 2014 15:53:12 -0400 Sender: mm-commits-owner@vger.kernel.org List-Id: mm-commits@vger.kernel.org To: mm-commits@vger.kernel.org, tglx@linutronix.de, n-horiguchi@ah.jp.nec.com, mingo@elte.hu, hpa@zytor.com, fengguang.wu@intel.com, andi@firstfloor.org, slaoub@gmail.com Subject: [merged] hwpoison-remove-unused-global-variable-in-do_machine_check.patch removed from -mm tree To: slaoub@gmail.com,andi@firstfloor.org,fengguang.wu@intel.com,hpa@zytor.com,mingo@elte.hu,n-horiguchi@ah.jp.nec.com,tglx@linutronix.de,mm-commits@vger.kernel.org From: akpm@linux-foundation.org Date: Thu, 05 Jun 2014 12:53:11 -0700 The patch titled Subject: hwpoison: remove unused global variable in do_machine_check() has been removed from the -mm tree. Its filename was hwpoison-remove-unused-global-variable-in-do_machine_check.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ From: Chen Yucong Subject: hwpoison: remove unused global variable in do_machine_check() Remove an unused global variable mce_entry and relative operations in do_machine_check(). Signed-off-by: Chen Yucong Cc: Naoya Horiguchi Cc: Wu Fengguang Cc: Andi Kleen Cc: Ingo Molnar Cc: Thomas Gleixner Cc: "H. Peter Anvin" Signed-off-by: Andrew Morton --- arch/x86/include/asm/mce.h | 2 -- arch/x86/kernel/cpu/mcheck/mce.c | 5 ----- 2 files changed, 7 deletions(-) diff -puN arch/x86/include/asm/mce.h~hwpoison-remove-unused-global-variable-in-do_machine_check arch/x86/include/asm/mce.h --- a/arch/x86/include/asm/mce.h~hwpoison-remove-unused-global-variable-in-do_machine_check +++ a/arch/x86/include/asm/mce.h @@ -176,8 +176,6 @@ int mce_available(struct cpuinfo_x86 *c) DECLARE_PER_CPU(unsigned, mce_exception_count); DECLARE_PER_CPU(unsigned, mce_poll_count); -extern atomic_t mce_entry; - typedef DECLARE_BITMAP(mce_banks_t, MAX_NR_BANKS); DECLARE_PER_CPU(mce_banks_t, mce_poll_banks); diff -puN arch/x86/kernel/cpu/mcheck/mce.c~hwpoison-remove-unused-global-variable-in-do_machine_check arch/x86/kernel/cpu/mcheck/mce.c --- a/arch/x86/kernel/cpu/mcheck/mce.c~hwpoison-remove-unused-global-variable-in-do_machine_check +++ a/arch/x86/kernel/cpu/mcheck/mce.c @@ -60,8 +60,6 @@ static DEFINE_MUTEX(mce_chrdev_read_mute #define SPINUNIT 100 /* 100ns */ -atomic_t mce_entry; - DEFINE_PER_CPU(unsigned, mce_exception_count); struct mce_bank *mce_banks __read_mostly; @@ -1040,8 +1038,6 @@ void do_machine_check(struct pt_regs *re DECLARE_BITMAP(valid_banks, MAX_NR_BANKS); char *msg = "Unknown"; - atomic_inc(&mce_entry);