Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/compat/linux/arch/amd64 Don't rely on pcb.h including x8...



details:   https://anonhg.NetBSD.org/src/rev/b9c3b430a113
branches:  trunk
changeset: 793563:b9c3b430a113
user:      dsl <dsl%NetBSD.org@localhost>
date:      Wed Feb 19 20:50:56 2014 +0000

description:
Don't rely on pcb.h including x86/include/sysarch.h

diffstat:

 sys/compat/linux/arch/amd64/linux_machdep.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 52464d17b5c8 -r b9c3b430a113 sys/compat/linux/arch/amd64/linux_machdep.c
--- a/sys/compat/linux/arch/amd64/linux_machdep.c       Wed Feb 19 20:42:14 2014 +0000
+++ b/sys/compat/linux/arch/amd64/linux_machdep.c       Wed Feb 19 20:50:56 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: linux_machdep.c,v 1.47 2014/02/15 10:11:15 dsl Exp $ */
+/*     $NetBSD: linux_machdep.c,v 1.48 2014/02/19 20:50:56 dsl Exp $ */
 
 /*-
  * Copyright (c) 2005 Emmanuel Dreyfus, all rights reserved.
@@ -33,7 +33,7 @@
 
 #include <sys/cdefs.h>
 
-__KERNEL_RCSID(0, "$NetBSD: linux_machdep.c,v 1.47 2014/02/15 10:11:15 dsl Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_machdep.c,v 1.48 2014/02/19 20:50:56 dsl Exp $");
 
 #include <sys/param.h>
 #include <sys/types.h>
@@ -51,6 +51,7 @@
 #include <machine/specialreg.h>
 #include <machine/vmparam.h>
 #include <machine/cpufunc.h>
+#include <x86/include/sysarch.h>
 
 /* 
  * To see whether wscons is configured (for virtual console ioctl calls).



Home | Main Index | Thread Index | Old Index