On 3/14/22 10:25, Khem Raj wrote:
Fixes
../qemu-6.2.0/linux-user/host/ppc64/../ppc/host-signal.h:16:32: error: 
incomplete definition of type 'struct pt_regs'
     return uc->uc_mcontext.regs->nip;
            ~~~~~~~~~~~~~~~~~~~~^

Signed-off-by: Khem Raj<raj.k...@gmail.com>
Cc: Peter Maydell<peter.mayd...@linaro.org>
Cc: Philippe Mathieu-Daudé<f4...@amsat.org>
Cc: Richard Henderson<richard.hender...@linaro.org>
---
v2: Drop ifdef __powerpc__

  linux-user/include/host/ppc/host-signal.h | 3 +++
  1 file changed, 3 insertions(+)

As per late conversation vs version 1, instead of the include, we should update the code to avoid the pt_regs indirection and instead reference gp_regs directly.

We should also move the file to ../ppc64/, leaving ppc/ empty.


r~

Reply via email to