mmu_handle_skey() takes a physical address, then aligns it to the page size to pass a guest physical page number to the methods defined in "hw/s390x/storage-keys.h" API.
Signed-off-by: Philippe Mathieu-Daudé <[email protected]> --- target/s390x/mmu_helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/s390x/mmu_helper.c b/target/s390x/mmu_helper.c index b73d902b05a..5a613b33150 100644 --- a/target/s390x/mmu_helper.c +++ b/target/s390x/mmu_helper.c @@ -296,7 +296,7 @@ static int mmu_translate_asce(CPUS390XState *env, vaddr vaddr, return 0; } -static void mmu_handle_skey(target_ulong addr, int rw, int *flags) +static void mmu_handle_skey(hwaddr addr, int rw, int *flags) { static S390SKeysClass *skeyclass; static S390SKeysState *ss; -- 2.52.0
