Patchwork [2/4] target-s390x: Fix debug output

login
register
mail settings
Submitter Alexander Graf
Date Feb. 1, 2013, 1:02 a.m.
Message ID <1359680581-6091-3-git-send-email-agraf@suse.de>
Download mbox | patch
Permalink /patch/217331/
State New
Headers show

Comments

Alexander Graf - Feb. 1, 2013, 1:02 a.m.
From: Andreas Färber <afaerber@suse.de>

Commit 71e470886fb6092504503a5fe41092ace71c096c (target-s390x: fix
style) renamed the cpu_s390x_handle_mmu_fault() argument from _vaddr to
orig_vaddr. Update the debug output code.

Signed-off-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
---
 target-s390x/helper.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch

diff --git a/target-s390x/helper.c b/target-s390x/helper.c
index d693a10..e62c93e 100644
--- a/target-s390x/helper.c
+++ b/target-s390x/helper.c
@@ -387,7 +387,7 @@  int cpu_s390x_handle_mmu_fault(CPUS390XState *env, target_ulong orig_vaddr,
     int prot;
 
     DPRINTF("%s: address 0x%" PRIx64 " rw %d mmu_idx %d\n",
-            __func__, _vaddr, rw, mmu_idx);
+            __func__, orig_vaddr, rw, mmu_idx);
 
     orig_vaddr &= TARGET_PAGE_MASK;
     vaddr = orig_vaddr;