perfcounters, x86: fix sw counters on non-PMC CPUs
authorIngo Molnar <mingo@elte.hu>
Sun, 14 Dec 2008 19:21:00 +0000 (20:21 +0100)
committerIngo Molnar <mingo@elte.hu>
Sun, 14 Dec 2008 19:31:29 +0000 (20:31 +0100)
commit088e2852c858159d47f71ee8da38e0fb1b21f806
treefc0b73f753ea7e07df9cc65ca3248cb25222faa3
parent2b9ff0db19b5e2c77000b7201525f9c3d6e8328d
perfcounters, x86: fix sw counters on non-PMC CPUs

Make perf_max_counters default to at least 1 - this allows the sw
counters to be used.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/perf_counter.c