]> git.ipfire.org Git - thirdparty/qemu.git/commit
ppc/pnv: Fix system symbols in HOMER structure definitions
authorNicholas Piggin <npiggin@gmail.com>
Mon, 17 Mar 2025 04:12:45 +0000 (14:12 +1000)
committerNicholas Piggin <npiggin@gmail.com>
Thu, 20 Mar 2025 09:58:11 +0000 (19:58 +1000)
commitd8b1c3eaed5cf11d2db702a415df082dc1754b2c
tree6c2a24c70e20b5f5e5d145dca2dd0d1ebff31a78
parentce5a32d18054fe468e3536f0a63026d5b196057b
ppc/pnv: Fix system symbols in HOMER structure definitions

These definitions were taken from skiboot firmware. I naively thought it
would be nicer to keep the code similar by using the preprocessor, but
it was pointed out that system headers might still use those symbols and
cause something unexpected. Also just nicer to keep the QEMU tree clean.

Cc: "Philippe Mathieu-Daudé" <philmd@linaro.org>
Cc: "Stefan Hajnoczi" <stefanha@gmail.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Fixes: 70bc5c2498f46 ("ppc/pnv: Make HOMER memory a RAM region")
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
hw/ppc/pnv_occ.c