From 933676242d4ee118a899b77bebd3e679af8ca583 Mon Sep 17 00:00:00 2001 From: Peter Wemm Date: Thu, 11 May 2000 02:32:36 +0000 Subject: [PATCH] Move outside #ifdef SMP because it supplies AST_RESCHED. Without this, it shows up as an undefined symbol in /kernel. (!) (This looks very freaky when doing a nm /kernel!) --- sys/amd64/amd64/cpu_switch.S | 2 +- sys/amd64/amd64/swtch.s | 2 +- sys/i386/i386/swtch.s | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/amd64/amd64/cpu_switch.S b/sys/amd64/amd64/cpu_switch.S index b9b5148d513b..c895fefa8c15 100644 --- a/sys/amd64/amd64/cpu_switch.S +++ b/sys/amd64/amd64/cpu_switch.S @@ -42,12 +42,12 @@ #include #include +#include #ifdef SMP #include #include #include /** GRAB_LOPRIO */ -#include #include #endif /* SMP */ diff --git a/sys/amd64/amd64/swtch.s b/sys/amd64/amd64/swtch.s index b9b5148d513b..c895fefa8c15 100644 --- a/sys/amd64/amd64/swtch.s +++ b/sys/amd64/amd64/swtch.s @@ -42,12 +42,12 @@ #include #include +#include #ifdef SMP #include #include #include /** GRAB_LOPRIO */ -#include #include #endif /* SMP */ diff --git a/sys/i386/i386/swtch.s b/sys/i386/i386/swtch.s index b9b5148d513b..c895fefa8c15 100644 --- a/sys/i386/i386/swtch.s +++ b/sys/i386/i386/swtch.s @@ -42,12 +42,12 @@ #include #include +#include #ifdef SMP #include #include #include /** GRAB_LOPRIO */ -#include #include #endif /* SMP */