[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] ppc: do not redefine CPUPPCState
From: |
David Gibson |
Subject: |
Re: [Qemu-devel] [PATCH] ppc: do not redefine CPUPPCState |
Date: |
Wed, 14 Sep 2016 15:02:29 +1000 |
User-agent: |
Mutt/1.7.0 (2016-08-17) |
On Tue, Sep 13, 2016 at 06:43:47PM +0200, Paolo Bonzini wrote:
> Just include the file that is supposed to bring it in.
Applied to ppc-for-2.8, thanks.
> Cc: David Gibson <address@hidden>
> Signed-off-by: Paolo Bonzini <address@hidden>
> ---
> I'm including this in my pull request to fix a clang warning.
>
> include/hw/ppc/fdt.h | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/include/hw/ppc/fdt.h b/include/hw/ppc/fdt.h
> index 2c68d16..0cabb6a 100644
> --- a/include/hw/ppc/fdt.h
> +++ b/include/hw/ppc/fdt.h
> @@ -11,8 +11,7 @@
> #define PPC_FDT_H
>
> #include "qemu/error-report.h"
> -
> -typedef struct CPUPPCState CPUPPCState;
> +#include "target-ppc/cpu-qom.h"
>
> #define _FDT(exp) \
> do { \
--
David Gibson | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_
| _way_ _around_!
http://www.ozlabs.org/~dgibson
signature.asc
Description: PGP signature