Skip to content

Commit

Permalink
x86, ds: fix bad ds_reset_pebs()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Markus Metzger authored and Ingo Molnar committed Apr 7, 2009
1 parent 6047550 commit 608780a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/x86/kernel/ds.c
Original file line number Diff line number Diff line change
Expand Up @@ -1186,7 +1186,7 @@ int ds_reset_pebs(struct pebs_tracer *tracer)

tracer->trace.ds.top = tracer->trace.ds.begin;

ds_set(tracer->ds.context->ds, ds_bts, ds_index,
ds_set(tracer->ds.context->ds, ds_pebs, ds_index,
(unsigned long)tracer->trace.ds.top);

return 0;
Expand Down

0 comments on commit 608780a

Please sign in to comment.