summaryrefslogtreecommitdiff
path: root/sys/i386/include/apic.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/i386/include/apic.h')
-rw-r--r--sys/i386/include/apic.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/i386/include/apic.h b/sys/i386/include/apic.h
index 3d84792ed504..8e7a3b0d3525 100644
--- a/sys/i386/include/apic.h
+++ b/sys/i386/include/apic.h
@@ -470,8 +470,8 @@ typedef struct IOAPIC ioapic_t;
/*
* Protects the IO APIC and apic_imen as a critical region.
*/
-#define IMASK_LOCK MTX_LOCK_SPIN(_imen_mtx, 0)
-#define IMASK_UNLOCK MTX_UNLOCK_SPIN(_imen_mtx)
+#define IMASK_LOCK MTX_LOCK_SPIN(imen_mtx, 0)
+#define IMASK_UNLOCK MTX_UNLOCK_SPIN(imen_mtx)
#else /* SMP */