perf_counter, x86: declare perf_max_counters only for CONFIG_PERF_COUNTERS
authorRobert Richter <robert.richter@amd.com>
Wed, 29 Apr 2009 10:46:59 +0000 (12:46 +0200)
committerIngo Molnar <mingo@elte.hu>
Wed, 29 Apr 2009 12:51:01 +0000 (14:51 +0200)
commit829b42dd395c5801f6ae87da87ecbdcfd5ef1a6c
tree971a75a1abd1a406cbb869991666b876ad32ddfe
parentda1a776be1ac7f78bb30ececbec4c1383163b079
perf_counter, x86: declare perf_max_counters only for CONFIG_PERF_COUNTERS

This is only needed for CONFIG_PERF_COUNTERS enabled.

[ Impact: cleanup ]

Signed-off-by: Robert Richter <robert.richter@amd.com>
Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
LKML-Reference: <1241002046-8832-3-git-send-email-robert.richter@amd.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/perf_counter.h