From 64baa9e7c0f38345442f632b2aaed2e622a8fcee Mon Sep 17 00:00:00 2001 From: mjacob Date: Mon, 30 Oct 2000 04:18:54 +0000 Subject: Remember to decrement interrupt nesting level if leaving early (in the unlikely case we get a clock interrupt on a non-primary CPU). --- sys/alpha/alpha/interrupt.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sys') diff --git a/sys/alpha/alpha/interrupt.c b/sys/alpha/alpha/interrupt.c index 5a75fcb..ebaf1e5 100644 --- a/sys/alpha/alpha/interrupt.c +++ b/sys/alpha/alpha/interrupt.c @@ -117,6 +117,7 @@ interrupt(a0, a1, a2, framep) CTR0(KTR_INTR, "clock interrupt"); if (PCPU_GET(cpuno) != hwrpb->rpb_primary_cpu_id) { CTR0(KTR_INTR, "ignoring clock on secondary"); + atomic_subtract_int(&PCPU_GET(intr_nesting_level), 1); return; } -- cgit v1.1