Re: [V7][PATCH 0/6] x86, nmi: new NMI handling routines

From: Robert Richter
Date: Tue Oct 04 2011 - 11:07:54 EST

On 03.10.11 11:59:08, Peter Zijlstra wrote:
> I didn't need that, I build an allnoconfig (which got me a fail with the
> IBS patches), then an allyesconfig (which got me the earlier fail) and
> this came from my regular config which included the ipmi crap because
> Ingo hit this same fail earlier (-v5 or so) and everybody forgot to tell
> you :/

A change like the one below should fix the IBS build breakage (for
perf, x86: Implement IBS initialization).


commit b670049b76a233599ebf64aff16cb8735fe6dc70
Author: Robert Richter <robert.richter@xxxxxxx>
Date: Tue Oct 4 16:51:54 2011 +0200

perf, x86: Fix allnoconfig build error for ibs

arch/x86/kernel/cpu/perf_event_amd_ibs.c: In function âget_eilvtâ:
arch/x86/kernel/cpu/perf_event_amd_ibs.c:90: error: implicit declaration of function âsetup_APIC_eilvtâ

Signed-off-by: Robert Richter <robert.richter@xxxxxxx>

diff --git a/arch/x86/kernel/cpu/perf_event_amd_ibs.c b/arch/x86/kernel/cpu/perf_event_amd_ibs.c
index 1ae5154..cca9e0c 100644
--- a/arch/x86/kernel/cpu/perf_event_amd_ibs.c
+++ b/arch/x86/kernel/cpu/perf_event_amd_ibs.c
@@ -9,6 +9,7 @@
#include <linux/perf_event.h>
#include <linux/module.h>
#include <linux/pci.h>
+#include <asm/apic.h>

static u32 ibs_caps;

Advanced Micro Devices, Inc.
Operating System Research Center

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at