Message ID | 1340364659-20200-2-git-send-email-peter.maydell@linaro.org |
---|---|
State | Accepted |
Commit | 72aaa6cec44568a8a09f9e233387024dd2807823 |
Headers | show |
Am 22.06.2012 13:30, schrieb Peter Maydell: > 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 <peter.maydell@linaro.org> Reviewed-by: Andreas Färber <afaerber@suse.de> /-F
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"
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 <peter.maydell@linaro.org> --- cpu-common.h | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-)