Skip to content
Commit cfc9c0b4 authored by Robert Richter's avatar Robert Richter
Browse files

oprofile/x86: fix msr access to reserved counters



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.

Cc: stable@kernel.org
Signed-off-by: default avatarRobert Richter <robert.richter@amd.com>
parent c17c8fbf
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment