perf_counter, x86: Check old-AMD performance monitoring support
authorJaswinder Singh Rajput <jaswinder@kernel.org>
Thu, 11 Jun 2009 09:58:09 +0000 (15:28 +0530)
committerIngo Molnar <mingo@elte.hu>
Sat, 13 Jun 2009 10:58:25 +0000 (12:58 +0200)
commit4d2be1267fcfb3a4d2198fd696aec5e3dcbce60e
tree18d01f008ed0ae174539be7a69253a8b93a8384e
parentd5e8da6449d4ef4bac35ea9b9719a2cda02e7b39
perf_counter, x86: Check old-AMD performance monitoring support

AMD supports performance monitoring start from K7 (i.e. family 6),
so disable it for earlier AMD CPUs.

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
Cc: Robert Richter <robert.richter@amd.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
LKML-Reference: <1244714289.6923.0.camel@ht.satnam>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/cpu/perf_counter.c