Patchwork [for-1.4,05/19] target-s390x: Fix debug output

login
register
mail settings
Submitter Andreas Färber
Date Jan. 27, 2013, 1:32 p.m.
Message ID <1359293537-8251-6-git-send-email-afaerber@suse.de>
Download mbox | patch
Permalink /patch/215988/
State New
Headers show

Comments

Andreas Färber - Jan. 27, 2013, 1:32 p.m.
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>
---
 target-s390x/helper.c |    2 +-
 1 Datei geändert, 1 Zeile hinzugefügt(+), 1 Zeile entfernt(-)
Alexander Graf - Jan. 30, 2013, 10:36 a.m.
On 27.01.2013, at 14:32, Andreas Färber wrote:

> 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>

Thanks, applied this and 06/19 to s390-next.


Alex

> ---
> target-s390x/helper.c |    2 +-
> 1 Datei geändert, 1 Zeile hinzugefügt(+), 1 Zeile entfernt(-)
> 
> diff --git a/target-s390x/helper.c b/target-s390x/helper.c
> index 9a132e6..a6af542 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;
> -- 
> 1.7.10.4
>

Patch

diff --git a/target-s390x/helper.c b/target-s390x/helper.c
index 9a132e6..a6af542 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;