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/28c982216e51
branches: trunk
changeset: 356928:28c982216e51
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 8ca2b6912dbd -r 28c982216e51 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 8ca2b6912dbd -r 28c982216e51 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