summaryrefslogtreecommitdiff
path: root/target/mips/helper.h
diff options
context:
space:
mode:
Diffstat (limited to 'target/mips/helper.h')
-rw-r--r--target/mips/helper.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/target/mips/helper.h b/target/mips/helper.h
index a6d687e340..90ab03b76e 100644
--- a/target/mips/helper.h
+++ b/target/mips/helper.h
@@ -2,7 +2,9 @@ DEF_HELPER_3(raise_exception_err, noreturn, env, i32, int)
DEF_HELPER_2(raise_exception, noreturn, env, i32)
DEF_HELPER_1(raise_exception_debug, noreturn, env)
+#ifndef CONFIG_USER_ONLY
DEF_HELPER_1(do_semihosting, void, env)
+#endif
#ifdef TARGET_MIPS64
DEF_HELPER_4(sdl, void, env, tl, tl, int)