Skip to contentSkip to conversation

Fix build without cpu-emulation

PATCH New Bernhard Held 1 participant 1 message Aug 26, 2011 KVM

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix build without cpu-emulation

Commit 618ba removed parameter puc, fix it in fake-exec.c.

---
 target-i386/fake-exec.c |    4 +---
 target-ia64/fake-exec.c |    4 +---
 2 files changed, 2 insertions(+), 6 deletions(-)
target-i386/fake-exec.c +1 -3
index e6f8363..da4bd36 100644
@@ -31,9 +31,7 @@ void cpu_gen_init(void)
 }
 
 int cpu_restore_state(TranslationBlock *tb,
-                      CPUState *env, unsigned long searched_pc,
-                      void *puc)
-
+                      CPUState *env, unsigned long searched_pc)
 {
     return 0;
 }
target-ia64/fake-exec.c +1 -3
index 8d6ded0..eaadadb 100644
@@ -42,9 +42,7 @@ void tcg_dump_info(FILE *f,
 }
 
 int cpu_restore_state(TranslationBlock *tb,
-                      CPUState *env, unsigned long searched_pc,
-                      void *puc)
-
+                      CPUState *env, unsigned long searched_pc)
 {
     return 0;
 }

--
1.7.6