OSDN Git Service

target/ppc: remove ppc_store_lpcr from CONFIG_USER_ONLY builds
authorMatheus Ferst <matheus.ferst@eldorado.org.br>
Tue, 11 Oct 2022 20:48:26 +0000 (17:48 -0300)
committerDaniel Henrique Barboza <danielhb413@gmail.com>
Fri, 28 Oct 2022 16:15:22 +0000 (13:15 -0300)
commit6a8e8188c3c99e987e3d5b9df614a68a5d4bd1e0
tree0d1a2ce0036f8c824a34ad5d8fae7b5c88ecce6a
parent022b7128535d0ec963f724008a5f8b6a842d92ae
target/ppc: remove ppc_store_lpcr from CONFIG_USER_ONLY builds

Writes to LPCR are hypervisor privileged.

Signed-off-by: Matheus Ferst <matheus.ferst@eldorado.org.br>
Reviewed-by: Fabiano Rosas <farosas@linux.ibm.com>
Message-Id: <20221011204829.1641124-27-matheus.ferst@eldorado.org.br>
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
target/ppc/cpu.c
target/ppc/cpu.h