summaryrefslogtreecommitdiff
path: root/target-mips/op_helper.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2015-08-03 11:49:12 -0700
committerLeon Alrae <leon.alrae@imgtec.com>2015-08-13 16:22:53 +0100
commitc85570163bdf1ba29cb52a63f22ff1c48f1b9398 (patch)
tree5c2b34077855eea4cd630be57f2b8c9437711a7f /target-mips/op_helper.c
parent58d479786b11a7e982419c1e0905b8490ef9a787 (diff)
downloadqemu-c85570163bdf1ba29cb52a63f22ff1c48f1b9398.tar.gz
target-mips: Use CPU_LOG_INT for logging related to interrupts
There are now no unconditional uses of qemu_log in the subdirectory. Signed-off-by: Richard Henderson <rth@twiddle.net> Reviewed-by: Aurelien Jarno <aurelien@aurel32.net> Reviewed-by: Leon Alrae <leon.alrae@imgtec.com> Signed-off-by: Leon Alrae <leon.alrae@imgtec.com>
Diffstat (limited to 'target-mips/op_helper.c')
-rw-r--r--target-mips/op_helper.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/target-mips/op_helper.c b/target-mips/op_helper.c
index db4f6b9463..809a061e29 100644
--- a/target-mips/op_helper.c
+++ b/target-mips/op_helper.c
@@ -38,7 +38,8 @@ static inline void QEMU_NORETURN do_raise_exception_err(CPUMIPSState *env,
CPUState *cs = CPU(mips_env_get_cpu(env));
if (exception < EXCP_SC) {
- qemu_log("%s: %d %d\n", __func__, exception, error_code);
+ qemu_log_mask(CPU_LOG_INT, "%s: %d %d\n",
+ __func__, exception, error_code);
}
cs->exception_index = exception;
env->error_code = error_code;