]> Git Repo - qemu.git/blobdiff - target/ppc/machine.c
Include qemu/main-loop.h less
[qemu.git] / target / ppc / machine.c
index 5ad7b40f453373a1543bba4502fafd792e9e5383..d6638ee60ec927f94b17ec959cd93f123cfdf7ce 100644 (file)
@@ -1,13 +1,13 @@
 #include "qemu/osdep.h"
 #include "cpu.h"
 #include "exec/exec-all.h"
-#include "hw/hw.h"
 #include "hw/boards.h"
 #include "sysemu/kvm.h"
 #include "helper_regs.h"
 #include "mmu-hash64.h"
 #include "migration/cpu.h"
 #include "qapi/error.h"
+#include "qemu/main-loop.h"
 #include "kvm_ppc.h"
 #include "exec/helper-proto.h"
 
@@ -378,11 +378,9 @@ static int cpu_post_load(void *opaque, int version_id)
      * receive the PVR it expects as a workaround.
      *
      */
-#if defined(CONFIG_KVM)
     if (kvmppc_pvr_workaround_required(cpu)) {
         env->spr[SPR_PVR] = env->spr_cb[SPR_PVR].default_value;
     }
-#endif
 
     env->lr = env->spr[SPR_LR];
     env->ctr = env->spr[SPR_CTR];
This page took 0.02217 seconds and 4 git commands to generate.