Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern Restrict the forcing of COMPAT_NETBSD32 to _LP64 ke...
details: https://anonhg.NetBSD.org/src/rev/83ecc0a768b0
branches: trunk
changeset: 350906:83ecc0a768b0
user: martin <martin%NetBSD.org@localhost>
date: Thu Jan 26 08:09:27 2017 +0000
description:
Restrict the forcing of COMPAT_NETBSD32 to _LP64 kernels - this is probably
not the right thing to do, but unbreaks the build for now.
diffstat:
sys/kern/kern_proc.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r b69433d99dda -r 83ecc0a768b0 sys/kern/kern_proc.c
--- a/sys/kern/kern_proc.c Thu Jan 26 07:54:05 2017 +0000
+++ b/sys/kern/kern_proc.c Thu Jan 26 08:09:27 2017 +0000
@@ -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 @@
#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
Home |
Main Index |
Thread Index |
Old Index