From: Ingo Molnar Date: Thu, 25 Dec 2008 08:02:11 +0000 (+0100) Subject: perfcounters: include asm/perf_counter.h only if CONFIG_PERF_COUNTERS=y X-Git-Tag: v2.6.31-rc1~383^2~537 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e44aef58ecfbe061eb4c53b939bcc35fb1bee82d;p=pandora-kernel.git perfcounters: include asm/perf_counter.h only if CONFIG_PERF_COUNTERS=y Impact: build fix on ia64 KOSAKI Motohiro reported that -tip doesnt build on ia64 because asm/perf_counter.h only exists on x86 for now. Fix it. Reported-by: KOSAKI Motohiro Tested-by: KOSAKI Motohiro Acked-by: KOSAKI Motohiro Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed