2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-25 21:54:06 +08:00
linux-next/arch/x86/events/intel
Ingo Molnar 6f6e151692 perf/x86/uncore: Fix build on UP-IOAPIC configs
Commit:

  cf6d445f68 ("perf/x86/uncore: Track packages, not per CPU data")

reorganized the uncore code to track packages, and introduced a dependency
on MAX_APIC_ID. This constant is not available on UP-IOAPIC builds:

  arch/x86/events/intel/uncore.c:1350:44: error: 'MAX_LOCAL_APIC' undeclared here (not in a function)

Include asm/apicdef.h explicitly to pick it up.

Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Harish Chegondi <harish.chegondi@intel.com>
Cc: Jacob Pan <jacob.jun.pan@linux.intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Kan Liang <kan.liang@intel.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Vince Weaver <vincent.weaver@maine.edu>
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
2016-03-03 09:12:27 +01:00
..
bts.c perf/x86: Move perf_event.h to its new home 2016-02-17 10:11:36 +01:00
core.c perf/x86: Move perf_event.h to its new home 2016-02-17 10:11:36 +01:00
cqm.c perf/x86/intel/cqm: Get rid of the silly for_each_cpu() lookups 2016-02-29 09:35:21 +01:00
cstate.c perf/x86: Move perf_event.h to its new home 2016-02-17 10:11:36 +01:00
ds.c perf/x86: Move perf_event.h to its new home 2016-02-17 10:11:36 +01:00
knc.c perf/x86: Move perf_event.h to its new home 2016-02-17 10:11:36 +01:00
lbr.c perf/x86: Move perf_event.h to its new home 2016-02-17 10:11:36 +01:00
p4.c perf/x86: Move perf_event.h to its new home 2016-02-17 10:11:36 +01:00
p6.c perf/x86: Move perf_event.h to its new home 2016-02-17 10:11:36 +01:00
pt.c perf/x86: Move perf_event.h to its new home 2016-02-17 10:11:36 +01:00
pt.h perf/x86: Move perf_event_intel_pt.[ch] ...... => x86/events/intel/pt.[ch] 2016-02-17 10:09:47 +01:00
rapl.c perf/x86/intel/rapl: Convert it to a per package facility 2016-02-29 09:35:26 +01:00
uncore_nhmex.c perf/x86/intel/uncore: Clean up hardware on exit 2016-02-29 09:35:15 +01:00
uncore_snb.c perf/x86/intel/uncore: Store box in event->pmu_private 2016-02-29 09:35:17 +01:00
uncore_snbep.c perf/x86/uncore: Track packages, not per CPU data 2016-02-29 09:35:18 +01:00
uncore.c perf/x86/intel/uncore: Make PCI and MSR uncore independent 2016-02-29 09:35:19 +01:00
uncore.h perf/x86/uncore: Fix build on UP-IOAPIC configs 2016-03-03 09:12:27 +01:00