From: Peter Zijlstra Date: Wed, 9 Jun 2010 09:57:23 +0000 (+0200) Subject: perf: Fix build breakage for architecutes without atomic64_t X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7be7923633a142402266d642ccebf74f556a649b;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git perf: Fix build breakage for architecutes without atomic64_t The local64.h include dependency was not dependent on PERF_EVENT=y, which meant that arch's without atomic64_t support ended up including it and failed to build. Signed-off-by: Peter Zijlstra LKML-Reference: --- diff --git a/include/linux/perf_event.h b/include/linux/perf_event.h index 7342979f95f2..1218d05728b9 100644 --- a/include/linux/perf_event.h +++ b/include/linux/perf_event.h @@ -462,6 +462,7 @@ enum perf_callchain_context { #ifdef CONFIG_PERF_EVENTS # include +# include #endif struct perf_guest_info_callbacks { @@ -487,7 +488,6 @@ struct perf_guest_info_callbacks { #include #include #include -#include #define PERF_MAX_STACK_DEPTH 255