From e4a85a9b140a6779073158c13d0255050ddfaf2b Mon Sep 17 00:00:00 2001 From: Bruce Evans Date: Mon, 9 Oct 2000 05:39:03 +0000 Subject: [PATCH] Unremoved used include of . 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.) --- sys/amd64/amd64/cpu_switch.S | 1 + sys/amd64/amd64/swtch.s | 1 + sys/i386/i386/swtch.s | 1 + 3 files changed, 3 insertions(+) diff --git a/sys/amd64/amd64/cpu_switch.S b/sys/amd64/amd64/cpu_switch.S index 32dbe56e686..6e325c23148 100644 --- a/sys/amd64/amd64/cpu_switch.S +++ b/sys/amd64/amd64/cpu_switch.S @@ -42,6 +42,7 @@ #include #include +#include #ifdef SMP #include diff --git a/sys/amd64/amd64/swtch.s b/sys/amd64/amd64/swtch.s index 32dbe56e686..6e325c23148 100644 --- a/sys/amd64/amd64/swtch.s +++ b/sys/amd64/amd64/swtch.s @@ -42,6 +42,7 @@ #include #include +#include #ifdef SMP #include diff --git a/sys/i386/i386/swtch.s b/sys/i386/i386/swtch.s index 32dbe56e686..6e325c23148 100644 --- a/sys/i386/i386/swtch.s +++ b/sys/i386/i386/swtch.s @@ -42,6 +42,7 @@ #include #include +#include #ifdef SMP #include