From b67dffdad285801fd67bdf6474e8919193eaf758 Mon Sep 17 00:00:00 2001 From: Peter Wemm Date: Fri, 10 Oct 1997 12:42:54 +0000 Subject: [PATCH] Compensate for pcb.h tweaks. (Bruce pointed out the nesting) --- sys/amd64/amd64/machdep.c | 3 ++- sys/amd64/amd64/sys_machdep.c | 3 ++- sys/amd64/amd64/trap.c | 7 ++++++- sys/i386/i386/machdep.c | 3 ++- sys/i386/i386/sys_machdep.c | 3 ++- sys/i386/i386/trap.c | 7 ++++++- sys/i386/i386/vm86.c | 5 +++-- sys/kern/subr_trap.c | 7 ++++++- 8 files changed, 29 insertions(+), 9 deletions(-) diff --git a/sys/amd64/amd64/machdep.c b/sys/amd64/amd64/machdep.c index 9a0d1071441..01600cf5f0f 100644 --- a/sys/amd64/amd64/machdep.c +++ b/sys/amd64/amd64/machdep.c @@ -35,7 +35,7 @@ * SUCH DAMAGE. * * from: @(#)machdep.c 7.4 (Berkeley) 6/3/91 - * $Id: machdep.c,v 1.266 1997/09/25 15:49:37 davidg Exp $ + * $Id: machdep.c,v 1.267 1997/10/10 09:44:02 peter Exp $ */ #include "apm.h" @@ -106,6 +106,7 @@ #include #include #include +#include /* pcb.h included via sys/user.h */ #ifdef SMP #include #endif diff --git a/sys/amd64/amd64/sys_machdep.c b/sys/amd64/amd64/sys_machdep.c index 006f74c9207..e6daefd5831 100644 --- a/sys/amd64/amd64/sys_machdep.c +++ b/sys/amd64/amd64/sys_machdep.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * from: @(#)sys_machdep.c 5.5 (Berkeley) 1/19/91 - * $Id: sys_machdep.c,v 1.25 1997/09/01 01:12:51 bde Exp $ + * $Id: sys_machdep.c,v 1.26 1997/10/10 09:44:08 peter Exp $ * */ @@ -52,6 +52,7 @@ #include #include +#include /* pcb.h included by sys/user.h */ #include #include /* for kernel_map */ diff --git a/sys/amd64/amd64/trap.c b/sys/amd64/amd64/trap.c index 8260c8abf44..ec74808949d 100644 --- a/sys/amd64/amd64/trap.c +++ b/sys/amd64/amd64/trap.c @@ -35,7 +35,7 @@ * SUCH DAMAGE. * * from: @(#)trap.c 7.4 (Berkeley) 5/13/91 - * $Id: trap.c,v 1.111 1997/09/21 21:38:05 gibbs Exp $ + * $Id: trap.c,v 1.112 1997/10/10 09:44:09 peter Exp $ */ /* @@ -75,12 +75,17 @@ #include #include #include +#include #ifdef POWERFAIL_NMI #include #include #endif +#ifdef VM86 +#include +#endif + #include "isa.h" #include "npx.h" diff --git a/sys/i386/i386/machdep.c b/sys/i386/i386/machdep.c index 9a0d1071441..01600cf5f0f 100644 --- a/sys/i386/i386/machdep.c +++ b/sys/i386/i386/machdep.c @@ -35,7 +35,7 @@ * SUCH DAMAGE. * * from: @(#)machdep.c 7.4 (Berkeley) 6/3/91 - * $Id: machdep.c,v 1.266 1997/09/25 15:49:37 davidg Exp $ + * $Id: machdep.c,v 1.267 1997/10/10 09:44:02 peter Exp $ */ #include "apm.h" @@ -106,6 +106,7 @@ #include #include #include +#include /* pcb.h included via sys/user.h */ #ifdef SMP #include #endif diff --git a/sys/i386/i386/sys_machdep.c b/sys/i386/i386/sys_machdep.c index 006f74c9207..e6daefd5831 100644 --- a/sys/i386/i386/sys_machdep.c +++ b/sys/i386/i386/sys_machdep.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * from: @(#)sys_machdep.c 5.5 (Berkeley) 1/19/91 - * $Id: sys_machdep.c,v 1.25 1997/09/01 01:12:51 bde Exp $ + * $Id: sys_machdep.c,v 1.26 1997/10/10 09:44:08 peter Exp $ * */ @@ -52,6 +52,7 @@ #include #include +#include /* pcb.h included by sys/user.h */ #include #include /* for kernel_map */ diff --git a/sys/i386/i386/trap.c b/sys/i386/i386/trap.c index 8260c8abf44..ec74808949d 100644 --- a/sys/i386/i386/trap.c +++ b/sys/i386/i386/trap.c @@ -35,7 +35,7 @@ * SUCH DAMAGE. * * from: @(#)trap.c 7.4 (Berkeley) 5/13/91 - * $Id: trap.c,v 1.111 1997/09/21 21:38:05 gibbs Exp $ + * $Id: trap.c,v 1.112 1997/10/10 09:44:09 peter Exp $ */ /* @@ -75,12 +75,17 @@ #include #include #include +#include #ifdef POWERFAIL_NMI #include #include #endif +#ifdef VM86 +#include +#endif + #include "isa.h" #include "npx.h" diff --git a/sys/i386/i386/vm86.c b/sys/i386/i386/vm86.c index 20308437bd7..c8deb4647ad 100644 --- a/sys/i386/i386/vm86.c +++ b/sys/i386/i386/vm86.c @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: vm86.c,v 1.2 1997/08/28 14:36:55 jlemon Exp $ + * $Id: vm86.c,v 1.3 1997/09/01 01:12:53 bde Exp $ */ #include @@ -39,8 +39,9 @@ #include -#include #include +#include /* pcb.h included via sys/user.h */ +#include #include extern int i386_extend_pcb __P((struct proc *)); diff --git a/sys/kern/subr_trap.c b/sys/kern/subr_trap.c index 8260c8abf44..ec74808949d 100644 --- a/sys/kern/subr_trap.c +++ b/sys/kern/subr_trap.c @@ -35,7 +35,7 @@ * SUCH DAMAGE. * * from: @(#)trap.c 7.4 (Berkeley) 5/13/91 - * $Id: trap.c,v 1.111 1997/09/21 21:38:05 gibbs Exp $ + * $Id: trap.c,v 1.112 1997/10/10 09:44:09 peter Exp $ */ /* @@ -75,12 +75,17 @@ #include #include #include +#include #ifdef POWERFAIL_NMI #include #include #endif +#ifdef VM86 +#include +#endif + #include "isa.h" #include "npx.h"