diff options
Diffstat (limited to 'linux-user')
-rw-r--r-- | linux-user/elfload.c | 1 | ||||
-rw-r--r-- | linux-user/main.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/linux-user/elfload.c b/linux-user/elfload.c index fbfa3b0de5..ab5a74e49a 100644 --- a/linux-user/elfload.c +++ b/linux-user/elfload.c @@ -329,7 +329,6 @@ static inline void init_thread(struct target_pt_regs *_regs, struct image_info * abi_ulong entry, toc; #endif - _regs->msr = 1 << MSR_PR; /* Set user mode */ _regs->gpr[1] = infop->start_stack; #if defined(TARGET_PPC64) && !defined(TARGET_ABI32) entry = ldq_raw(infop->entry) + infop->load_addr; diff --git a/linux-user/main.c b/linux-user/main.c index 7590db80a6..cac9561ba1 100644 --- a/linux-user/main.c +++ b/linux-user/main.c @@ -2168,7 +2168,6 @@ int main(int argc, char **argv) } cpu_ppc_register(env, def); cpu_ppc_reset(env); - env->msr = regs->msr & ~((1 << 6) | (1 << 12) | (1 << 13)); #if defined(TARGET_PPC64) #if defined(TARGET_ABI32) env->msr &= ~((target_ulong)1 << MSR_SF); |