Skip to content

Commit

Permalink
x86/mcelog: Remove one mce_helper definition
Browse files Browse the repository at this point in the history
Commit

  5de97c9 ("x86/mce: Factor out and deprecate the /dev/mcelog driver")

moved the old interface into one file including mce_helper definition as
static and "extern". Remove one.

Fixes: 5de97c9 ("x86/mce: Factor out and deprecate the /dev/mcelog driver")
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Borislav Petkov <bp@suse.de>
CC: "H. Peter Anvin" <hpa@zytor.com>
CC: Ingo Molnar <mingo@redhat.com>
CC: Thomas Gleixner <tglx@linutronix.de>
CC: Tony Luck <tony.luck@intel.com>
CC: linux-edac <linux-edac@vger.kernel.org>
CC: x86-ml <x86@kernel.org>
Link: http://lkml.kernel.org/r/20181017170554.18841-3-bigeasy@linutronix.de
  • Loading branch information
Sebastian Andrzej Siewior authored and suryasaimadhu committed Oct 17, 2018
1 parent e5276b1 commit 711f76a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions arch/x86/kernel/cpu/mcheck/dev-mcelog.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,6 @@ static struct mce_log_buffer mcelog = {

static DECLARE_WAIT_QUEUE_HEAD(mce_chrdev_wait);

/* User mode helper program triggered by machine check event */
extern char mce_helper[128];

static int dev_mce_log(struct notifier_block *nb, unsigned long val,
void *data)
{
Expand Down

0 comments on commit 711f76a

Please sign in to comment.