summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/alpha/alpha/interrupt.c2
-rw-r--r--sys/amd64/amd64/intr_machdep.c2
-rw-r--r--sys/i386/i386/intr_machdep.c2
3 files changed, 6 insertions, 0 deletions
diff --git a/sys/alpha/alpha/interrupt.c b/sys/alpha/alpha/interrupt.c
index 066244d..1c3bd47 100644
--- a/sys/alpha/alpha/interrupt.c
+++ b/sys/alpha/alpha/interrupt.c
@@ -435,6 +435,8 @@ alpha_dispatch_intr(void *frame, unsigned long vector)
if ((ih->ih_flags & IH_FAST) != 0) {
critical_enter();
ih->ih_handler(ih->ih_argument);
+ /* XXX */
+ td->td_pflags &= ~TDP_OWEPREEMPT;
critical_exit();
return;
}
diff --git a/sys/amd64/amd64/intr_machdep.c b/sys/amd64/amd64/intr_machdep.c
index 6b591d4..8a8968b 100644
--- a/sys/amd64/amd64/intr_machdep.c
+++ b/sys/amd64/amd64/intr_machdep.c
@@ -204,6 +204,8 @@ intr_execute_handlers(struct intsrc *isrc, struct intrframe *iframe)
}
isrc->is_pic->pic_eoi_source(isrc);
error = 0;
+ /* XXX */
+ td->td_pflags &= ~TDP_OWEPREEMPT;
critical_exit();
} else {
/*
diff --git a/sys/i386/i386/intr_machdep.c b/sys/i386/i386/intr_machdep.c
index 6b591d4..8a8968b 100644
--- a/sys/i386/i386/intr_machdep.c
+++ b/sys/i386/i386/intr_machdep.c
@@ -204,6 +204,8 @@ intr_execute_handlers(struct intsrc *isrc, struct intrframe *iframe)
}
isrc->is_pic->pic_eoi_source(isrc);
error = 0;
+ /* XXX */
+ td->td_pflags &= ~TDP_OWEPREEMPT;
critical_exit();
} else {
/*
OpenPOWER on IntegriCloud