summaryrefslogtreecommitdiffstats
path: root/qemu/target-cris/mmu.c
diff options
context:
space:
mode:
Diffstat (limited to 'qemu/target-cris/mmu.c')
-rw-r--r--qemu/target-cris/mmu.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/qemu/target-cris/mmu.c b/qemu/target-cris/mmu.c
index 1c95a415f..4278d2dce 100644
--- a/qemu/target-cris/mmu.c
+++ b/qemu/target-cris/mmu.c
@@ -18,8 +18,7 @@
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef CONFIG_USER_ONLY
-
+#include "qemu/osdep.h"
#include "cpu.h"
#include "mmu.h"
@@ -360,4 +359,3 @@ int cris_mmu_translate(struct cris_mmu_result *res,
env->pregs[PR_SRS] = old_srs;
return miss;
}
-#endif