[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 7/7] poison TARGET_xxx for compile once object
From: |
Paolo Bonzini |
Subject: |
[Qemu-devel] [PATCH 7/7] poison TARGET_xxx for compile once object |
Date: |
Fri, 25 Jun 2010 14:52:22 +0200 |
prevents those ifdefs from creeping in again.
Cc: Isaku Yamahata <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>
---
cpu-common.h | 4 ----
qemu-common.h | 5 +----
2 files changed, 1 insertions(+), 8 deletions(-)
diff --git a/cpu-common.h b/cpu-common.h
index d905258..639c58d 100644
--- a/cpu-common.h
+++ b/cpu-common.h
@@ -11,10 +11,6 @@
#include "targphys.h"
#endif
-#ifndef NEED_CPU_H
-#include "poison.h"
-#endif
-
#include "bswap.h"
#include "qemu-queue.h"
diff --git a/qemu-common.h b/qemu-common.h
index 8339cb1..423639b 100644
--- a/qemu-common.h
+++ b/qemu-common.h
@@ -86,15 +86,12 @@ static inline char *realpath(const char *path, char
*resolved_path)
/* FIXME: Remove NEED_CPU_H. */
#ifndef NEED_CPU_H
-
#include <setjmp.h>
#include "osdep.h"
#include "bswap.h"
-
+#include "poison.h"
#else
-
#include "cpu.h"
-
#endif /* !defined(NEED_CPU_H) */
/* bottom halves */
--
1.7.0.1
Re: [Qemu-devel] [PATCH 5/7] add qdev property type "cpu", Blue Swirl, 2010/06/27
[Qemu-devel] [PATCH 2/7] include qemu-common.h when needed by the next patches, Paolo Bonzini, 2010/06/25
[Qemu-devel] [PATCH 3/7] include stdio.h freely, remove dyngen-exec.h hacks, Paolo Bonzini, 2010/06/25
[Qemu-devel] [PATCH 1/7] rtc: Remove TARGET_I386 from qemu-config.c, enables driftfix, Paolo Bonzini, 2010/06/25
Re: [Qemu-devel] [PATCH 0/7] poison TARGET_xxx for compile once object and header file cleanups, Richard Henderson, 2010/06/25