qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] ppc: do not redefine CPUPPCState
@ 2016-09-13 16:43 Paolo Bonzini
  2016-09-14  5:02 ` David Gibson
  0 siblings, 1 reply; 2+ messages in thread
From: Paolo Bonzini @ 2016-09-13 16:43 UTC (permalink / raw)
  To: qemu-devel; +Cc: David Gibson

Just include the file that is supposed to bring it in.

Cc: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
	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 {                                                           \
-- 
1.8.3.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Qemu-devel] [PATCH] ppc: do not redefine CPUPPCState
  2016-09-13 16:43 [Qemu-devel] [PATCH] ppc: do not redefine CPUPPCState Paolo Bonzini
@ 2016-09-14  5:02 ` David Gibson
  0 siblings, 0 replies; 2+ messages in thread
From: David Gibson @ 2016-09-14  5:02 UTC (permalink / raw)
  To: Paolo Bonzini; +Cc: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 1096 bytes --]

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 <david@gibson.dropbear.id.au>
> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
> ---
> 	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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 801 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-09-14  5:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-13 16:43 [Qemu-devel] [PATCH] ppc: do not redefine CPUPPCState Paolo Bonzini
2016-09-14  5:02 ` David Gibson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).