]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
oprofile/x86: fix msr access to reserved counters
authorRobert Richter <robert.richter@amd.com>
Fri, 26 Feb 2010 12:45:24 +0000 (13:45 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 15 Mar 2010 15:49:47 +0000 (08:49 -0700)
commit8a9bd933fb68dd7e59314bf2e20138d0f5c48dd1
treeb7c4cb0804f771712d42264d624fe2a93e704338
parentdaed3716251c22671c6864342f40b3861cca69a2
oprofile/x86: fix msr access to reserved counters

commit cfc9c0b450176a077205ef39092f0dc1a04e020a upstream.

During switching virtual counters there is access to perfctr msrs. If
the counter is not available this fails due to an invalid
address. This patch fixes this.

Signed-off-by: Robert Richter <robert.richter@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/x86/oprofile/op_model_amd.c