summaryrefslogtreecommitdiff
path: root/sys/arch/octeon/dev/octeon_intr.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/octeon/dev/octeon_intr.c')
-rw-r--r--sys/arch/octeon/dev/octeon_intr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/octeon/dev/octeon_intr.c b/sys/arch/octeon/dev/octeon_intr.c
index 0da4f6823a0..65f77e719f1 100644
--- a/sys/arch/octeon/dev/octeon_intr.c
+++ b/sys/arch/octeon/dev/octeon_intr.c
@@ -278,7 +278,7 @@ octeon_iointr(uint32_t hwpend, struct trap_frame *frame)
if (ih->ih_level < IPL_IPI) {
sr = getsr();
ENABLEIPI();
- if (ipl < IPL_SCHED)
+ if (ih->ih_level < IPL_CLOCK)
__mp_lock(&kernel_lock);
}
#endif
@@ -289,7 +289,7 @@ octeon_iointr(uint32_t hwpend, struct trap_frame *frame)
}
#ifdef MULTIPROCESSOR
if (ih->ih_level < IPL_IPI) {
- if (ipl < IPL_SCHED)
+ if (ih->ih_level < IPL_CLOCK)
__mp_unlock(&kernel_lock);
setsr(sr);
}