[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-ppc] [PATCH 07/20] target-ppc: Drop cpu_ppc_close()
From: |
Andreas Färber |
Subject: |
[Qemu-ppc] [PATCH 07/20] target-ppc: Drop cpu_ppc_close() |
Date: |
Sun, 15 Apr 2012 20:38:51 +0200 |
It is unused, so avoid QOM'ifying it unneededly.
Signed-off-by: Andreas Färber <address@hidden>
Acked-by: David Gibson <address@hidden>
---
target-ppc/cpu.h | 1 -
target-ppc/helper.c | 6 ------
2 files changed, 0 insertions(+), 7 deletions(-)
diff --git a/target-ppc/cpu.h b/target-ppc/cpu.h
index e7fb364..1d5c602 100644
--- a/target-ppc/cpu.h
+++ b/target-ppc/cpu.h
@@ -1100,7 +1100,6 @@ struct mmu_ctx_t {
CPUPPCState *cpu_ppc_init (const char *cpu_model);
void ppc_translate_init(void);
int cpu_ppc_exec (CPUPPCState *s);
-void cpu_ppc_close (CPUPPCState *s);
/* you can call this signal handler from your SIGBUS and SIGSEGV
signal handlers to inform the virtual CPU of exceptions. non zero
is returned if the signal was handled by the virtual CPU. */
diff --git a/target-ppc/helper.c b/target-ppc/helper.c
index f0ea1c3..f61b8b2 100644
--- a/target-ppc/helper.c
+++ b/target-ppc/helper.c
@@ -3214,9 +3214,3 @@ CPUPPCState *cpu_ppc_init (const char *cpu_model)
return env;
}
-
-void cpu_ppc_close (CPUPPCState *env)
-{
- /* Should also remove all opcode tables... */
- g_free(env);
-}
--
1.7.7
- [Qemu-ppc] [PULL] ppc patch queue 2012-04-15, Andreas Färber, 2012/04/15
- [Qemu-ppc] [PATCH 01/20] PPC: Fix TLB invalidation bug within the PPC interrupt handler., Andreas Färber, 2012/04/15
- [Qemu-ppc] [PATCH 03/20] pseries: Fix bug with reset of VIO CRQs, Andreas Färber, 2012/04/15
- [Qemu-ppc] [PATCH 04/20] pseries: Implement RTAS system-reboot call, Andreas Färber, 2012/04/15
- [Qemu-ppc] [PATCH 05/20] pseries: Remove unused fields from VIOsPAPRBus structure, Andreas Färber, 2012/04/15
- [Qemu-ppc] [PATCH 07/20] target-ppc: Drop cpu_ppc_close(),
Andreas Färber <=
- [Qemu-ppc] [PATCH 11/20] target-ppc: QOM'ify CPU reset, Andreas Färber, 2012/04/15
- [Qemu-ppc] [PATCH 09/20] target-ppc: QOM'ify CPU, Andreas Färber, 2012/04/15
- [Qemu-ppc] [PATCH 12/20] target-ppc: Fix type casts for w64 (uintptr_t), Andreas Färber, 2012/04/15
- [Qemu-ppc] [PATCH 10/20] target-ppc: Start QOM'ifying CPU init, Andreas Färber, 2012/04/15
- [Qemu-ppc] [PATCH 13/20] target-ppc: Init dcache and icache size for e500 user mode, Andreas Färber, 2012/04/15
- [Qemu-ppc] [PATCH 08/20] target-ppc: Add hooks for handling tcg and kvm limitations, Andreas Färber, 2012/04/15
- [Qemu-ppc] [PATCH 15/20] pseries: Fix RTAS based config access, Andreas Färber, 2012/04/15