perf: Fix build breakage for architecutes without atomic64_t
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Wed, 9 Jun 2010 09:57:23 +0000 (11:57 +0200)
committerIngo Molnar <mingo@elte.hu>
Wed, 9 Jun 2010 10:03:00 +0000 (12:03 +0200)
commit7be7923633a142402266d642ccebf74f556a649b
tree9ff99f26d8f30110318f9269c0205559c96e0953
parente78505958cf123048fb48cb56b79cebb8edd15fb
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 <a.p.zijlstra@chello.nl>
LKML-Reference: <new-submission>
include/linux/perf_event.h