aboutsummaryrefslogtreecommitdiff
path: root/arch/powerpc/kernel/power5+-pmu.c
diff options
context:
space:
mode:
authorMichael Neuling <mikey@neuling.org>2009-10-14 19:32:15 +0000
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2009-10-27 16:42:38 +1100
commit7abb840b496f834a71a8943bb189683da320f047 (patch)
tree6444e23443d1ddd9c5d7aa7198e6d8c401dda0c0 /arch/powerpc/kernel/power5+-pmu.c
parent964fe080d94db82a3268443e9b9ece4c60246414 (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 'arch/powerpc/kernel/power5+-pmu.c')
0 files changed, 0 insertions, 0 deletions