]> www.infradead.org Git - users/dwmw2/qemu.git/commit
target/ppc/mmu_common.c: Init variable in function that relies on it
authorBALATON Zoltan <balaton@eik.bme.hu>
Sun, 26 May 2024 23:12:56 +0000 (01:12 +0200)
committerNicholas Piggin <npiggin@gmail.com>
Thu, 25 Jul 2024 23:51:34 +0000 (09:51 +1000)
commitfa7f2cb91b8f6805ec5d8581ca067ac83acc287e
treeda6dfa9de4ee5dc8c89cd58d2eea1d118611c7b2
parent620ba617df15ae0bce3be794c870525e329ab78c
target/ppc/mmu_common.c: Init variable in function that relies on it

The ppc6xx_tlb_check() relies on the caller to initialise raddr field
in ctx. Move this init from the only caller into the function.

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Reviewed-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
target/ppc/mmu_common.c