Source-Changes-HG archive

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

[src/trunk]: src/sys/compat Include opt_user_ldt.h when needed.



details:   https://anonhg.NetBSD.org/src/rev/4c7a4f24b308
branches:  trunk
changeset: 827229:4c7a4f24b308
user:      maxv <maxv%NetBSD.org@localhost>
date:      Sat Oct 21 07:24:26 2017 +0000

description:
Include opt_user_ldt.h when needed.

diffstat:

 sys/compat/linux/arch/amd64/linux_machdep.c     |  6 ++++--
 sys/compat/linux32/arch/amd64/linux32_machdep.c |  8 ++++++--
 2 files changed, 10 insertions(+), 4 deletions(-)

diffs (51 lines):

diff -r 6ff4be98a4b3 -r 4c7a4f24b308 sys/compat/linux/arch/amd64/linux_machdep.c
--- a/sys/compat/linux/arch/amd64/linux_machdep.c       Sat Oct 21 07:23:22 2017 +0000
+++ b/sys/compat/linux/arch/amd64/linux_machdep.c       Sat Oct 21 07:24:26 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: linux_machdep.c,v 1.54 2017/10/19 10:01:09 maxv Exp $ */
+/*     $NetBSD: linux_machdep.c,v 1.55 2017/10/21 07:24:26 maxv 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.54 2017/10/19 10:01:09 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_machdep.c,v 1.55 2017/10/21 07:24:26 maxv Exp $");
 
 #include <sys/param.h>
 #include <sys/types.h>
@@ -57,8 +57,10 @@
  * To see whether wscons is configured (for virtual console ioctl calls).
  */
 #if defined(_KERNEL_OPT)
+#include "opt_user_ldt.h"
 #include "wsdisplay.h"
 #endif
+
 #if (NWSDISPLAY > 0)
 #include <dev/wscons/wsconsio.h>
 #include <dev/wscons/wsdisplay_usl_io.h>
diff -r 6ff4be98a4b3 -r 4c7a4f24b308 sys/compat/linux32/arch/amd64/linux32_machdep.c
--- a/sys/compat/linux32/arch/amd64/linux32_machdep.c   Sat Oct 21 07:23:22 2017 +0000
+++ b/sys/compat/linux32/arch/amd64/linux32_machdep.c   Sat Oct 21 07:24:26 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: linux32_machdep.c,v 1.42 2017/10/19 10:01:09 maxv Exp $ */
+/*     $NetBSD: linux32_machdep.c,v 1.43 2017/10/21 07:24:26 maxv Exp $ */
 
 /*-
  * Copyright (c) 2006 Emmanuel Dreyfus, all rights reserved.
@@ -31,7 +31,11 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux32_machdep.c,v 1.42 2017/10/19 10:01:09 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux32_machdep.c,v 1.43 2017/10/21 07:24:26 maxv Exp $");
+
+#if defined(_KERNEL_OPT)
+#include "opt_user_ldt.h"
+#endif
 
 #include <sys/param.h>
 #include <sys/proc.h>



Home | Main Index | Thread Index | Old Index