On 21.11.2010, at 01:49, Andreas Färber wrote:
On ppc64 the mtmsr instruction only sets the low 32 bits of the MSR. mtmsrd must be used to set the high bits such as Sixty-Four Bit Mode as well.
v2:
- Introduce MTMSRD macro as seen on Linux, suggested by Alex.
- Introduce inline functions {mfmsr,mtmsr}, suggested by Alex.
Cc: Alexander Graf agraf@suse.de Signed-off-by: Andreas Färber andreas.faerber@web.de
Signed-off-by: Alexander Graf agraf@suse.de
Alex