]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/ppc: Fix compilation with DUMP_PAGE_TABLES debug option
authorFabiano Rosas <farosas@linux.ibm.com>
Fri, 2 Jul 2021 21:52:33 +0000 (18:52 -0300)
committerDavid Gibson <david@gibson.dropbear.id.au>
Fri, 9 Jul 2021 00:38:19 +0000 (10:38 +1000)
commit26ba91db6c0fea5ff6a696e32fc532af32f6629b
treee5bac85bb560925be87f21a2b0c5c4edfdcf099c
parentcbf35bac39265f278863f9452ceb9ad69cc311ef
target/ppc: Fix compilation with DUMP_PAGE_TABLES debug option

../target/ppc/mmu_helper.c: In function 'get_segment_6xx_tlb':
../target/ppc/mmu_helper.c:514:46: error: passing argument 1 of
'ppc_hash32_hpt_mask' from incompatible pointer type [-Werror=incompatible-pointer-types]

  514 |                          ppc_hash32_hpt_mask(env) + 0x80);
      |                                              ^~~
      |                                              |
      |                                              CPUPPCState *

Fixes: 36778660d7 ("target/ppc: Eliminate htab_base and htab_mask variables")
Signed-off-by: Fabiano Rosas <farosas@linux.ibm.com>
Message-Id: <20210702215235.1941771-2-farosas@linux.ibm.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
target/ppc/mmu_helper.c