Module Name:    src
Committed By:   christos
Date:           Thu Jan 26 03:54:54 UTC 2017

Modified Files:
        src/sys/kern: kern_proc.c

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


To generate a diff of this commit:
cvs rdiff -u -r1.199 -r1.200 src/sys/kern/kern_proc.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/kern/kern_proc.c
diff -u src/sys/kern/kern_proc.c:1.199 src/sys/kern/kern_proc.c:1.200
--- src/sys/kern/kern_proc.c:1.199	Mon Nov 14 03:55:51 2016
+++ src/sys/kern/kern_proc.c	Wed Jan 25 22:54:54 2017
@@ -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 @@ __KERNEL_RCSID(0, "$NetBSD: kern_proc.c,
 #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

Reply via email to