Skip to content

Commit

Permalink
s390x: fix debug statement in trigger_page_fault()
Browse files Browse the repository at this point in the history
When mmu_translate debugging output is enabled, code won't compile.
Let's just use the same statement as in trigger_prot_fault().

Acked-by: Cornelia Huck <[email protected]>
Signed-off-by: David Hildenbrand <[email protected]>
Signed-off-by: Cornelia Huck <[email protected]>
  • Loading branch information
David Hildenbrand authored and cohuck committed Mar 1, 2016
1 parent 5ab0e54 commit c5b2ee4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion target-s390x/mmu_helper.c
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ static void trigger_page_fault(CPUS390XState *env, target_ulong vaddr,

tec = vaddr | (rw == MMU_DATA_STORE ? FS_WRITE : FS_READ) | asc >> 46;

DPRINTF("%s: vaddr=%016" PRIx64 " bits=%d\n", __func__, vaddr, bits);
DPRINTF("%s: trans_exc_code=%016" PRIx64 "\n", __func__, tec);

if (!exc) {
return;
Expand Down

0 comments on commit c5b2ee4

Please sign in to comment.