diff options
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | 2010-03-30 17:00:06 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2010-04-02 19:52:04 +0200 |
commit | b4cdc5c264b35c67007800dec3928e9547a9d70b (patch) | |
tree | 1e4c723538c5c1c2bb68c96975cea5bc47789991 /kernel/sched_fair.c | |
parent | a098f4484bc7dae23f5b62360954007b99b64600 (diff) | |
download | blackbird-obmc-linux-b4cdc5c264b35c67007800dec3928e9547a9d70b.tar.gz blackbird-obmc-linux-b4cdc5c264b35c67007800dec3928e9547a9d70b.zip |
perf, x86: Fix up the ANY flag stuff
Stephane noticed that the ANY flag was in generic arch code, and Cyrill
reported that it broke the P4 code.
Solve this by merging x86_pmu::raw_event into x86_pmu::hw_config and
provide intel_pmu and amd_pmu specific versions of this callback.
The intel_pmu one deals with the ANY flag, the amd_pmu adds the few extra
event bits AMD64 has.
Reported-by: Stephane Eranian <eranian@google.com>
Reported-by: Cyrill Gorcunov <gorcunov@gmail.com>
Acked-by: Robert Richter <robert.richter@amd.com>
Acked-by: Cyrill Gorcunov <gorcunov@gmail.com>
Acked-by: Stephane Eranian <eranian@google.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <1269968113.5258.442.camel@laptop>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/sched_fair.c')
0 files changed, 0 insertions, 0 deletions