summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2000-10-09 05:39:03 +0000
committerbde <bde@FreeBSD.org>2000-10-09 05:39:03 +0000
commite61ab07a16a7feaf46bd87862125573ddfba1be1 (patch)
tree0f63122f1b20226db5ef9c321d8576b63ccfcede /sys
parentf8221971286cefd2c2ae491365898ac88c77bf95 (diff)
downloadFreeBSD-src-e61ab07a16a7feaf46bd87862125573ddfba1be1.zip
FreeBSD-src-e61ab07a16a7feaf46bd87862125573ddfba1be1.tar.gz
Unremoved used include of <machine/ipl.h>. Removing it in rev.1.95
significantly pessimized syscalls by arranging to do null rescheduling on return from every syscall. (AST_RESCHED was not defined, and the mask ~AST_RESCHED gets replaced by the useless mask ~0. This bug has been fixed before, in rev.1.92.)
Diffstat (limited to 'sys')
-rw-r--r--sys/amd64/amd64/cpu_switch.S1
-rw-r--r--sys/amd64/amd64/swtch.s1
-rw-r--r--sys/i386/i386/swtch.s1
3 files changed, 3 insertions, 0 deletions
diff --git a/sys/amd64/amd64/cpu_switch.S b/sys/amd64/amd64/cpu_switch.S
index 32dbe56..6e325c2 100644
--- a/sys/amd64/amd64/cpu_switch.S
+++ b/sys/amd64/amd64/cpu_switch.S
@@ -42,6 +42,7 @@
#include <sys/rtprio.h>
#include <machine/asmacros.h>
+#include <machine/ipl.h>
#ifdef SMP
#include <machine/pmap.h>
diff --git a/sys/amd64/amd64/swtch.s b/sys/amd64/amd64/swtch.s
index 32dbe56..6e325c2 100644
--- a/sys/amd64/amd64/swtch.s
+++ b/sys/amd64/amd64/swtch.s
@@ -42,6 +42,7 @@
#include <sys/rtprio.h>
#include <machine/asmacros.h>
+#include <machine/ipl.h>
#ifdef SMP
#include <machine/pmap.h>
diff --git a/sys/i386/i386/swtch.s b/sys/i386/i386/swtch.s
index 32dbe56..6e325c2 100644
--- a/sys/i386/i386/swtch.s
+++ b/sys/i386/i386/swtch.s
@@ -42,6 +42,7 @@
#include <sys/rtprio.h>
#include <machine/asmacros.h>
+#include <machine/ipl.h>
#ifdef SMP
#include <machine/pmap.h>
OpenPOWER on IntegriCloud