Module Name: src Committed By: martin Date: Thu Jan 26 08:09:27 UTC 2017
Modified Files: src/sys/kern: kern_proc.c Log Message: Restrict the forcing of COMPAT_NETBSD32 to _LP64 kernels - this is probably not the right thing to do, but unbreaks the build for now. To generate a diff of this commit: cvs rdiff -u -r1.201 -r1.202 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.201 src/sys/kern/kern_proc.c:1.202 --- src/sys/kern/kern_proc.c:1.201 Thu Jan 26 07:54:05 2017 +++ src/sys/kern/kern_proc.c Thu Jan 26 08:09:27 2017 @@ -1,4 +1,4 @@ -/* $NetBSD: kern_proc.c,v 1.201 2017/01/26 07:54:05 martin Exp $ */ +/* $NetBSD: kern_proc.c,v 1.202 2017/01/26 08:09:27 martin 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.201 2017/01/26 07:54:05 martin Exp $"); +__KERNEL_RCSID(0, "$NetBSD: kern_proc.c,v 1.202 2017/01/26 08:09:27 martin Exp $"); #ifdef _KERNEL_OPT #include "opt_kstack.h" @@ -104,7 +104,7 @@ __KERNEL_RCSID(0, "$NetBSD: kern_proc.c, #include <uvm/uvm_extern.h> #include <uvm/uvm.h> -#if !defined(COMPAT_NETBSD32) && !defined(_RUMPKERNEL) +#if defined(_LP64) && !defined(COMPAT_NETBSD32) && !defined(_RUMPKERNEL) #define COMPAT_NETBSD32 #endif #ifdef COMPAT_NETBSD32