perf_counter, x86: remove X86_FEATURE_ARCH_PERFMON flag for AMD cpus
authorRobert Richter <robert.richter@amd.com>
Wed, 29 Apr 2009 10:46:58 +0000 (12:46 +0200)
committerIngo Molnar <mingo@elte.hu>
Wed, 29 Apr 2009 12:51:00 +0000 (14:51 +0200)
commitda1a776be1ac7f78bb30ececbec4c1383163b079
tree5b7c38811d175ff53f769a537a80fe111fabfd25
parente7fd5d4b3d240f42c30a9e3d20a4689c4d3a795a
perf_counter, x86: remove X86_FEATURE_ARCH_PERFMON flag for AMD cpus

X86_FEATURE_ARCH_PERFMON is an Intel hardware feature that does not
work on AMD CPUs. The flag is now only used in Intel specific code
(especially initialization).

[ Impact: refactor code ]

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-2-git-send-email-robert.richter@amd.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/cpu/amd.c
arch/x86/kernel/cpu/perf_counter.c