[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-ppc] [PATCH 6/8] pseries: Fix use of global CPU state
From: |
Alexander Graf |
Subject: |
[Qemu-ppc] [PATCH 6/8] pseries: Fix use of global CPU state |
Date: |
Tue, 1 May 2012 21:50:55 +0200 |
From: Peter Portante <address@hidden>
Commit ed120055c7f9b26b5707d3ceabbe5a3f06aaf937 (Implement PAPR VPA
functions for pSeries shared processor partitions) introduced the
deregister_dtl() function and typo "emv" as name of its argument.
This went unnoticed because the code in that function can access the
global variable "env" so that no build failure resulted.
Fix the argument to read "env". Resolves LP#986241.
Signed-off-by: Peter Portante <address@hidden>
Acked-by: Andreas Färber <address@hidden>
[agraf: fixed typo in commit message]
Signed-off-by: Alexander Graf <address@hidden>
---
hw/spapr_hcall.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/hw/spapr_hcall.c b/hw/spapr_hcall.c
index 634763e..94bb504 100644
--- a/hw/spapr_hcall.c
+++ b/hw/spapr_hcall.c
@@ -482,7 +482,7 @@ static target_ulong register_dtl(CPUPPCState *env,
target_ulong addr)
return H_SUCCESS;
}
-static target_ulong deregister_dtl(CPUPPCState *emv, target_ulong addr)
+static target_ulong deregister_dtl(CPUPPCState *env, target_ulong addr)
{
env->dispatch_trace_log = 0;
env->dtl_size = 0;
--
1.6.0.2
- Re: [Qemu-ppc] [Qemu-devel] [PATCH 3/8] linux-user: Fix undefined HOST_LONG_SIZE on PPC hosts, (continued)
- [Qemu-ppc] [PATCH 1/8] booke:Use MMU API for creating initial mapping for secondary cpus, Alexander Graf, 2012/05/01
- [Qemu-ppc] [PATCH 2/8] PPC: Fix up e500 cache size setting, Alexander Graf, 2012/05/01
- [Qemu-ppc] [PATCH 8/8] target-ppc: Some support for dumping TLB_EMB TLBs, Alexander Graf, 2012/05/01
- [Qemu-ppc] [PATCH 7/8] ppce500_spin: Replace assert by hw_error (fixes compiler warning), Alexander Graf, 2012/05/01
- [Qemu-ppc] [PATCH 5/8] pseries: Use the same interrupt swizzling for host bridges as p2p bridges, Alexander Graf, 2012/05/01
- [Qemu-ppc] [PATCH 4/8] pseries: Implement automatic PAPR VIO address allocation, Alexander Graf, 2012/05/01
- [Qemu-ppc] [PATCH 6/8] pseries: Fix use of global CPU state, Alexander Graf, 2012/05/01
- [Qemu-ppc] [PULL 0/8] ppc patch queue 2012-05-01, Alexander Graf, 2012/05/01
- [Qemu-ppc] [PATCH 2/8] PPC: Fix up e500 cache size setting, Alexander Graf, 2012/05/01
- [Qemu-ppc] [PATCH 7/8] ppce500_spin: Replace assert by hw_error (fixes compiler warning), Alexander Graf, 2012/05/01
- [Qemu-ppc] [PATCH 8/8] target-ppc: Some support for dumping TLB_EMB TLBs, Alexander Graf, 2012/05/01
- [Qemu-ppc] [PATCH 5/8] pseries: Use the same interrupt swizzling for host bridges as p2p bridges, Alexander Graf, 2012/05/01
- [Qemu-ppc] [PATCH 4/8] pseries: Implement automatic PAPR VIO address allocation, Alexander Graf, 2012/05/01