aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorMarkus Metzger <markus.t.metzger@intel.com>2009-04-03 10:43:50 -0400
committerIngo Molnar <mingo@elte.hu>2009-04-07 07:36:34 -0400
commit608780a9048efa3e85fbc4d8649b26805cc588aa (patch)
treec52f96c9f766a889a5ada3a669ea21a839d41ae1 /arch
parent6047550d3d26fed88b18a208b31f8b90b5ef3e9b (diff)
x86, ds: fix bad ds_reset_pebs()
Ds_reset_pebs() passed the wrong qualifier to a shared function resulting in a reset of bts, rather than pebs. Reported-by: Stephane Eranian <eranian@googlemail.com> Signed-off-by: Markus Metzger <markus.t.metzger@intel.com> Cc: roland@redhat.com Cc: eranian@googlemail.com Cc: oleg@redhat.com Cc: juan.villacis@intel.com Cc: ak@linux.jf.intel.com LKML-Reference: <20090403144605.206510000@intel.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/kernel/ds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/ds.c b/arch/x86/kernel/ds.c
index cab28320dac7..ebfb0fde8e6f 100644
--- a/arch/x86/kernel/ds.c
+++ b/arch/x86/kernel/ds.c
@@ -1186,7 +1186,7 @@ int ds_reset_pebs(struct pebs_tracer *tracer)
1186 1186
1187 tracer->trace.ds.top = tracer->trace.ds.begin; 1187 tracer->trace.ds.top = tracer->trace.ds.begin;
1188 1188
1189 ds_set(tracer->ds.context->ds, ds_bts, ds_index, 1189 ds_set(tracer->ds.context->ds, ds_pebs, ds_index,
1190 (unsigned long)tracer->trace.ds.top); 1190 (unsigned long)tracer->trace.ds.top);
1191 1191
1192 return 0; 1192 return 0;