From: Peter Maydell Date: Tue, 9 Feb 2016 10:54:10 +0000 (+0000) Subject: target-cris: Remove unnecessary ifdef from mmu.c X-Git-Tag: Tizen_Studio_1.3_Release_p2.3.2~30^2~6^2~8^2~193 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=70e6b879d7d7c0aa1740e4d574c82b499a8b1343;p=sdk%2Femulator%2Fqemu.git target-cris: Remove unnecessary ifdef from mmu.c mmu.c is only built for CONFIG_SOFTMMU targets, so there is no need to redundantly surround the whole file contents with an #ifndef CONFIG_USER_ONLY. The ifdef also confuses the Coccinelle tool. Signed-off-by: Peter Maydell Reviewed-by: Eric Blake --- diff --git a/target-cris/mmu.c b/target-cris/mmu.c index 1c95a415f2..4a9c595c29 100644 --- a/target-cris/mmu.c +++ b/target-cris/mmu.c @@ -18,8 +18,6 @@ * License along with this library; if not, see . */ -#ifndef CONFIG_USER_ONLY - #include "cpu.h" #include "mmu.h" @@ -360,4 +358,3 @@ int cris_mmu_translate(struct cris_mmu_result *res, env->pregs[PR_SRS] = old_srs; return miss; } -#endif