perf, x86: Fixup the PEBS handler for Core2 cpus
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Tue, 9 Mar 2010 10:41:02 +0000 (11:41 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 10 Mar 2010 12:23:39 +0000 (13:23 +0100)
commitd80c7502ff63aa0d99d8c0c5803d28bbef67a74e
treef2873d7f09a667e207f9284b590eb4ea3e9e61bd
parent7645a24cbd01cbf4865d1273d5ddaa8d8c2ccb3a
perf, x86: Fixup the PEBS handler for Core2 cpus

Pull the core handler in line with the nhm one, also make sure we always
drain the buffer.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Arnaldo Carvalho de Melo <acme@infradead.org>
Cc: paulus@samba.org
Cc: eranian@google.com
Cc: robert.richter@amd.com
Cc: fweisbec@gmail.com
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/cpu/perf_event_intel_ds.c