[POWERPC] Don't access HID registers if running on a Hypervisor.
authorJimi Xenidis <jimix@watson.ibm.com>
Wed, 21 Jun 2006 23:15:55 +0000 (19:15 -0400)
committerPaul Mackerras <paulus@samba.org>
Wed, 28 Jun 2006 01:51:12 +0000 (11:51 +1000)
commit6d7c466292fc7c90bb160c1c7df74035c7c12595
treeea1def4bb391060da2a3c4ebad9e3ad281f8a09e
parent70c3967d4f8029f3d53323a9f0490df61d8cb77d
[POWERPC] Don't access HID registers if running on a Hypervisor.

The following patch avoids accessing Hypervisor privilege HID
registers when running on a Hypervisor (MSR[HV]=0).

Signed-off-by: Jimi Xenidis <jimix@watson.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/cpu_setup_power4.S