diff options
author | Michael Neuling <mikey@neuling.org> | 2009-10-14 19:32:15 +0000 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-10-27 16:42:38 +1100 |
commit | 7abb840b496f834a71a8943bb189683da320f047 (patch) | |
tree | 6444e23443d1ddd9c5d7aa7198e6d8c401dda0c0 /kernel/stop_machine.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 <mikey@neuling.org>
CC: paulus@samba.org
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'kernel/stop_machine.c')
0 files changed, 0 insertions, 0 deletions