Don't clear the MSR for the pure ppc64 version since it would disable Sixty Four bit mode as well.
The MMU is supposed to be disabled by default.
Cc: Alexander Graf agraf@suse.de Signed-off-by: Andreas Färber andreas.faerber@web.de --- arch/ppc/qemu/start.S | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/arch/ppc/qemu/start.S b/arch/ppc/qemu/start.S index 3ee59d7..443d668 100644 --- a/arch/ppc/qemu/start.S +++ b/arch/ppc/qemu/start.S @@ -268,10 +268,13 @@ GLOBL(__vectors_end): /************************************************************************/
GLOBL(_entry): + +#ifndef __powerpc64__ /* clear MSR, disable MMU */
li r0,0 mtmsr r0 +#endif
/* copy exception vectors */