diff options
author | Michael Neuling <[email protected]> | 2009-10-14 19:32:15 +0000 |
---|---|---|
committer | Benjamin Herrenschmidt <[email protected]> | 2009-10-27 16:42:38 +1100 |
commit | 7abb840b496f834a71a8943bb189683da320f047 (patch) | |
tree | 6444e23443d1ddd9c5d7aa7198e6d8c401dda0c0 /lib/cpu-notifier-error-inject.c | |
parent | 964fe080d94db82a3268443e9b9ece4c60246414 (diff) |
powerpc/perf_events: Fix priority of MSR HV vs PR bits
The architecture defines that if MSR PR is set we are in problem state
irrespective of the HV bit. This fixes perf events to reflect this.
Also, on bare metal systems, samples taken in Linux will now be reported
as kernel rather than hypervisor.
Signed-off-by: Michael Neuling <[email protected]>
CC: [email protected]
Signed-off-by: Benjamin Herrenschmidt <[email protected]>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions