Source-Changes-HG archive

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

[src/trunk]: src/sys/kern always compile in the COMPAT32 code; it is tiny and...



details:   https://anonhg.NetBSD.org/src/rev/47653c925148
branches:  trunk
changeset: 821151:47653c925148
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Jan 26 03:54:54 2017 +0000

description:
always compile in the COMPAT32 code; it is tiny and if we don't it breaks
the modules.

diffstat:

 sys/kern/kern_proc.c |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r ec617defa5b7 -r 47653c925148 sys/kern/kern_proc.c
--- a/sys/kern/kern_proc.c      Thu Jan 26 03:54:01 2017 +0000
+++ b/sys/kern/kern_proc.c      Thu Jan 26 03:54:54 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kern_proc.c,v 1.199 2016/11/14 08:55:51 kre Exp $      */
+/*     $NetBSD: kern_proc.c,v 1.200 2017/01/26 03:54:54 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.199 2016/11/14 08:55:51 kre Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_proc.c,v 1.200 2017/01/26 03:54:54 christos Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_kstack.h"
@@ -104,6 +104,9 @@
 #include <uvm/uvm_extern.h>
 #include <uvm/uvm.h>
 
+#ifndef COMPAT_NETBSD32
+#define COMPAT_NETBSD32
+#endif
 #ifdef COMPAT_NETBSD32
 #include <compat/netbsd32/netbsd32.h>
 #endif



Home | Main Index | Thread Index | Old Index