]> git.proxmox.com Git - qemu.git/blobdiff - target-i386/op_helper.c
global s/loglevel & X/qemu_loglevel_mask(X)/ (Eduardo Habkost)
[qemu.git] / target-i386 / op_helper.c
index 8ebc63b08582705cdb8d97ca448b6ff092de153b..dcbc361a0207e4888170bfbbea1e8446647e5e5d 100644 (file)
@@ -1206,7 +1206,7 @@ void do_interrupt_user(int intno, int is_int, int error_code,
 void do_interrupt(int intno, int is_int, int error_code,
                   target_ulong next_eip, int is_hw)
 {
-    if (loglevel & CPU_LOG_INT) {
+    if (qemu_loglevel_mask(CPU_LOG_INT)) {
         if ((env->cr[0] & CR0_PE_MASK)) {
             static int count;
             qemu_log("%6d: v=%02x e=%04x i=%d cpl=%d IP=%04x:" TARGET_FMT_lx " pc=" TARGET_FMT_lx " SP=%04x:" TARGET_FMT_lx,