diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2009-11-08 21:05:19 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2009-11-08 21:05:19 +0000 |
commit | 2783b9e7a388c4dd94479d27f871f1d3af90d142 (patch) | |
tree | 79925a0368ae04afd06b2c7818abb4cb2b584df1 /sys/arch/macppc/dev | |
parent | 4f6870372d51e99293280449d6a8e6421a1040e9 (diff) |
Move KERNEL_LOCK/UNLOCK dance into softintr_dispatch().
ok miod@, dms@
Diffstat (limited to 'sys/arch/macppc/dev')
-rw-r--r-- | sys/arch/macppc/dev/openpic.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/arch/macppc/dev/openpic.c b/sys/arch/macppc/dev/openpic.c index 2fc2070031c..7f64854ad01 100644 --- a/sys/arch/macppc/dev/openpic.c +++ b/sys/arch/macppc/dev/openpic.c @@ -1,4 +1,4 @@ -/* $OpenBSD: openpic.c,v 1.58 2009/10/01 20:19:18 kettenis Exp $ */ +/* $OpenBSD: openpic.c,v 1.59 2009/11/08 21:05:18 kettenis Exp $ */ /*- * Copyright (c) 1995 Per Fogelstrom @@ -536,9 +536,7 @@ openpic_do_pending_softint(int pcpl) ci->ci_ipending &= ~SINT_CLOCK; ci->ci_cpl = SINT_CLOCK|SINT_NET|SINT_TTY; ppc_intr_enable(1); - KERNEL_LOCK(); softintr_dispatch(SI_SOFTCLOCK); - KERNEL_UNLOCK(); ppc_intr_disable(); continue; } @@ -546,9 +544,7 @@ openpic_do_pending_softint(int pcpl) ci->ci_ipending &= ~SINT_NET; ci->ci_cpl = SINT_NET|SINT_TTY; ppc_intr_enable(1); - KERNEL_LOCK(); softintr_dispatch(SI_SOFTNET); - KERNEL_UNLOCK(); ppc_intr_disable(); continue; } @@ -556,9 +552,7 @@ openpic_do_pending_softint(int pcpl) ci->ci_ipending &= ~SINT_TTY; ci->ci_cpl = SINT_TTY; ppc_intr_enable(1); - KERNEL_LOCK(); softintr_dispatch(SI_SOFTTTY); - KERNEL_UNLOCK(); ppc_intr_disable(); continue; } |