summaryrefslogtreecommitdiffstats
path: root/sys/alpha/isa/isa.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/alpha/isa/isa.c')
-rw-r--r--sys/alpha/isa/isa.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/alpha/isa/isa.c b/sys/alpha/isa/isa.c
index ec1de88..9494c10 100644
--- a/sys/alpha/isa/isa.c
+++ b/sys/alpha/isa/isa.c
@@ -398,8 +398,10 @@ isa_teardown_intr(device_t dev, device_t child,
num_handlers++;
mtx_unlock(&ithread->it_lock);
- /* only disable the interrupt in hardware if there are no
- other handlers sharing it */
+ /*
+ * Only disable the interrupt in hardware if there are no
+ * other handlers sharing it.
+ */
if (num_handlers == 1) {
mtx_lock_spin(&icu_lock);
OpenPOWER on IntegriCloud