Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern We need to define COMPAT_NETBSD32 before we include...
details: https://anonhg.NetBSD.org/src/rev/02fbf9c93b91
branches: trunk
changeset: 350951:02fbf9c93b91
user: christos <christos%NetBSD.org@localhost>
date: Sat Jan 28 16:43:59 2017 +0000
description:
We need to define COMPAT_NETBSD32 before we include other files;
otherwise things like ucontext32_t will be missing.
diffstat:
sys/kern/kern_proc.c | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diffs (42 lines):
diff -r 2b8e4d4ffd5a -r 02fbf9c93b91 sys/kern/kern_proc.c
--- a/sys/kern/kern_proc.c Sat Jan 28 15:40:16 2017 +0000
+++ b/sys/kern/kern_proc.c Sat Jan 28 16:43:59 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: kern_proc.c,v 1.204 2017/01/27 03:53:01 christos Exp $ */
+/* $NetBSD: kern_proc.c,v 1.205 2017/01/28 16:43:59 christos Exp $ */
/*-
* Copyright (c) 1999, 2006, 2007, 2008 The NetBSD Foundation, Inc.
@@ -62,7 +62,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_proc.c,v 1.204 2017/01/27 03:53:01 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_proc.c,v 1.205 2017/01/28 16:43:59 christos Exp $");
#ifdef _KERNEL_OPT
#include "opt_kstack.h"
@@ -71,6 +71,11 @@
#include "opt_compat_netbsd32.h"
#endif
+#if defined(__HAVE_COMPAT_NETBSD32) && !defined(COMPAT_NETBSD32) \
+ && !defined(_RUMPKERNEL)
+#define COMPAT_NETBSD32
+#endif
+
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/kernel.h>
@@ -104,11 +109,6 @@
#include <uvm/uvm_extern.h>
#include <uvm/uvm.h>
-#if defined(__HAVE_COMPAT_NETBSD32) && !defined(COMPAT_NETBSD32) \
- && !defined(_RUMPKERNEL)
-#define COMPAT_NETBSD32
-#endif
-
#ifdef COMPAT_NETBSD32
#include <compat/netbsd32/netbsd32.h>
#endif
Home |
Main Index |
Thread Index |
Old Index