qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 1/3] cpu-common.h: Remove unnecessary guard on inclu


From: Stefan Hajnoczi
Subject: [Qemu-devel] [PATCH 1/3] cpu-common.h: Remove unnecessary guard on including targphys.h
Date: Mon, 2 Jul 2012 10:36:34 +0100

From: Peter Maydell <address@hidden>

There's no need to make the include of targphys.h conditional
on whether TARGET_PHYS_ADDR_BITS is defined, because targphys.h
itself checks that and does nothing if it isn't.

Signed-off-by: Peter Maydell <address@hidden>
Reviewed-by: Andreas Färber <address@hidden>
Signed-off-by: Stefan Hajnoczi <address@hidden>
---
 cpu-common.h |    2 --
 1 file changed, 2 deletions(-)

diff --git a/cpu-common.h b/cpu-common.h
index 1fe3280..321037f 100644
--- a/cpu-common.h
+++ b/cpu-common.h
@@ -3,9 +3,7 @@
 
 /* CPU interfaces that are target independent.  */
 
-#ifdef TARGET_PHYS_ADDR_BITS
 #include "targphys.h"
-#endif
 
 #ifndef NEED_CPU_H
 #include "poison.h"
-- 
1.7.10




reply via email to

[Prev in Thread] Current Thread [Next in Thread]