Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/miscfs/procfs both LINUX_USRSTACK32 and USRSTACK32 need ...
details: https://anonhg.NetBSD.org/src/rev/b781f8050a38
branches: trunk
changeset: 768894:b781f8050a38
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Sun Aug 28 18:48:14 2011 +0000
description:
both LINUX_USRSTACK32 and USRSTACK32 need to be defined for linux32
diffstat:
sys/miscfs/procfs/procfs_linux.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 3e9fc91188c3 -r b781f8050a38 sys/miscfs/procfs/procfs_linux.c
--- a/sys/miscfs/procfs/procfs_linux.c Sun Aug 28 17:21:28 2011 +0000
+++ b/sys/miscfs/procfs/procfs_linux.c Sun Aug 28 18:48:14 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: procfs_linux.c,v 1.59 2010/12/20 00:25:47 matt Exp $ */
+/* $NetBSD: procfs_linux.c,v 1.60 2011/08/28 18:48:14 jmcneill Exp $ */
/*
* Copyright (c) 2001 Wasabi Systems, Inc.
@@ -36,7 +36,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: procfs_linux.c,v 1.59 2010/12/20 00:25:47 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: procfs_linux.c,v 1.60 2011/08/28 18:48:14 jmcneill Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -96,7 +96,7 @@
break;
}
}
-#ifdef LINUX_USRSTACK32
+#if defined(LINUX_USRSTACK32) && defined(USRSTACK32)
if (strcmp(p->p_emul->e_name, "linux32") == 0 &&
LINUX_USRSTACK32 < USRSTACK32)
*sstack = (unsigned long)LINUX_USRSTACK32;
Home |
Main Index |
Thread Index |
Old Index