x86, pebs: correct qualifier passed to ds_write_config() from ds_request_pebs()
authorMarkus Metzger <markus.t.metzger@intel.com>
Thu, 5 Mar 2009 07:57:21 +0000 (08:57 +0100)
committerIngo Molnar <mingo@elte.hu>
Fri, 6 Mar 2009 15:13:15 +0000 (16:13 +0100)
commit73bf1b62f561fc8ecb00e2810efe4fe769f4933e
tree8c3b68141deb73003b59a4a26250223ec7b36c0a
parent9ca0791dcaa666e8e8f4b4ca028b65b4bde9cb28
x86, pebs: correct qualifier passed to ds_write_config() from ds_request_pebs()

ds_write_config() can write the BTS as well as the PEBS part of
the DS config. ds_request_pebs() passes the wrong qualifier, which
results in the wrong configuration to be written.

Reported-by: Stephane Eranian <eranian@googlemail.com>
Signed-off-by: Markus Metzger <markus.t.metzger@intel.com>
LKML-Reference: <20090305085721.A22550@sedona.ch.intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/ds.c