target/ppc: Remove type argument from check_prot
commit91e615a07d0a9e10ba187d45db9939f001ac4216
authorRichard Henderson <richard.henderson@linaro.org>
Tue, 18 May 2021 20:11:29 +0000 (18 15:11 -0500)
committerDavid Gibson <david@gibson.dropbear.id.au>
Wed, 19 May 2021 02:51:51 +0000 (19 12:51 +1000)
tree7f1f9884dc4677ad4886667eae89787b672d3ad3
parent9630cd62620e705f45c24e9d21ea01eea8fd4cd8
target/ppc: Remove type argument from check_prot

We can now use MMU_INST_FETCH from access_type for this.
Use prot_for_access_type to simplify everything.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210518201146.794854-8-richard.henderson@linaro.org>
[dwg: Remove a stray trailing whitespace]
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
target/ppc/mmu_helper.c