Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-8]: src/sys/compat/common Pull up following revision(s) (requeste...
details: https://anonhg.NetBSD.org/src/rev/0a60b75b92a9
branches: netbsd-8
changeset: 434966:0a60b75b92a9
user: martin <martin%NetBSD.org@localhost>
date: Sun May 06 09:35:33 2018 +0000
description:
Pull up following revision(s) (requested by pgoyette in ticket #807):
sys/compat/common/compat_mod.c: revision 1.29
Clean up a stray #ifdef _MODULE - it prevented definition of
COMPAT_SIGCONTEXT which in turn prevented building of the
SYS_compat16_sigaction_14 code.
Should address PR kern/53260
XXX Pull-up to netbsd-8
diffstat:
sys/compat/common/compat_mod.c | 10 ++++------
1 files changed, 4 insertions(+), 6 deletions(-)
diffs (36 lines):
diff -r 71d3e2ef8589 -r 0a60b75b92a9 sys/compat/common/compat_mod.c
--- a/sys/compat/common/compat_mod.c Sun May 06 09:32:57 2018 +0000
+++ b/sys/compat/common/compat_mod.c Sun May 06 09:35:33 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: compat_mod.c,v 1.24 2016/11/05 23:30:22 pgoyette Exp $ */
+/* $NetBSD: compat_mod.c,v 1.24.8.1 2018/05/06 09:35:33 martin Exp $ */
/*-
* Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: compat_mod.c,v 1.24 2016/11/05 23:30:22 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: compat_mod.c,v 1.24.8.1 2018/05/06 09:35:33 martin Exp $");
#ifdef _KERNEL_OPT
#include "opt_compat_netbsd.h"
@@ -69,15 +69,13 @@
int ttcompat(struct tty *, u_long, void *, int, struct lwp *);
-#ifdef _MODULE
#ifdef COMPAT_16
#if !defined(__amd64__) || defined(COMPAT_NETBSD32)
#define COMPAT_SIGCONTEXT
extern char sigcode[], esigcode[];
struct uvm_object *emul_netbsd_object;
-#endif
-#endif
-#endif /* _MODULE */
+#endif /* !defined(__amd64__) || defined(COMPAT_NETBSD32) */
+#endif /* COMPAT_16 */
extern krwlock_t exec_lock;
extern krwlock_t ttcompat_lock;
Home |
Main Index |
Thread Index |
Old Index