The patch titled Subject: perf, x86: Fix undefined reference to `get_ibs_caps' has been removed from the -mm tree. Its filename was perf-x86-fix-undefined-reference-to-get_ibs_caps.patch This patch was dropped because it was merged into mainline or a subsystem tree The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ From: Robert Richter <robert.richter@xxxxxxx> Subject: perf, x86: Fix undefined reference to `get_ibs_caps' Fixing i386 allnoconfig build errors: arch/x86/built-in.o: In function `amd_pmu_hw_config': perf_event_amd.c:(.text+0xc3e1): undefined reference to `get_ibs_caps' Reported-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> Cc: Peter Zijlstra <a.p.zijlstra@xxxxxxxxx> Signed-off-by: Robert Richter <robert.richter@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- arch/x86/include/asm/perf_event.h | 4 ++++ 1 file changed, 4 insertions(+) diff -puN arch/x86/include/asm/perf_event.h~perf-x86-fix-undefined-reference-to-get_ibs_caps arch/x86/include/asm/perf_event.h --- a/arch/x86/include/asm/perf_event.h~perf-x86-fix-undefined-reference-to-get_ibs_caps +++ a/arch/x86/include/asm/perf_event.h @@ -188,7 +188,11 @@ struct x86_pmu_capability { #define IBS_OP_MAX_CNT_EXT 0x007FFFFFULL /* not a register bit mask */ #define IBS_RIP_INVALID (1ULL<<38) +#ifdef CONFIG_X86_LOCAL_APIC extern u32 get_ibs_caps(void); +#else +static inline u32 get_ibs_caps(void) { return 0; } +#endif #ifdef CONFIG_PERF_EVENTS extern void perf_events_lapic_init(void); _ Patches currently in -mm which might be from robert.richter@xxxxxxx are linux-next.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html