From: Michael Neuling Date: Wed, 14 Oct 2009 19:32:15 +0000 (+0000) Subject: powerpc/perf_events: Fix priority of MSR HV vs PR bits X-Git-Tag: v2.6.32-rc6~46^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7abb840b496f834a71a8943bb189683da320f047;p=pandora-kernel.git 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 CC: paulus@samba.org Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed