summaryrefslogtreecommitdiff
path: root/sys/compat/linux32/common/linux32_exec.h
diff options
context:
space:
mode:
authorchs <chs@NetBSD.org>2010-07-07 01:30:32 +0000
committerchs <chs@NetBSD.org>2010-07-07 01:30:32 +0000
commit33fa5ccbbf17bc2390e2d136c34926c6f93ac5d1 (patch)
treec52fdcf81396fba59fce0a9c410d0dcc8c104091 /sys/compat/linux32/common/linux32_exec.h
parent56acc98394a822ba38a843f6385171e0b1aa5e9a (diff)
many changes for COMPAT_LINUX:
- update the linux syscall table for each platform. - support new-style (NPTL) linux pthreads on all platforms. clone() with CLONE_THREAD uses 1 process with many LWPs instead of separate processes. - move the contents of sys__lwp_setprivate() into a new lwp_setprivate() and use that everywhere. - update linux_release[] and linux32_release[] to "2.6.18". - adjust placement of emul fork/exec/exit hooks as needed and adjust other emul code to match. - convert all struct emul definitions to use named initializers. - change the pid allocator to allow multiple pids to refer to the same proc. - remove a few fields from struct proc that are no longer needed. - disable the non-functional "vdso" code in linux32/amd64, glibc works fine without it. - fix a race in the futex code where we could miss a wakeup after a requeue operation. - redo futex locking to be a little more efficient.
Diffstat (limited to 'sys/compat/linux32/common/linux32_exec.h')
-rw-r--r--sys/compat/linux32/common/linux32_exec.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/compat/linux32/common/linux32_exec.h b/sys/compat/linux32/common/linux32_exec.h
index 09302debe94..d0e8e567f30 100644
--- a/sys/compat/linux32/common/linux32_exec.h
+++ b/sys/compat/linux32/common/linux32_exec.h
@@ -1,4 +1,4 @@
-/* $NetBSD: linux32_exec.h,v 1.6 2009/12/10 14:13:53 matt Exp $ */
+/* $NetBSD: linux32_exec.h,v 1.7 2010/07/07 01:30:35 chs Exp $ */
/*-
* Copyright (c) 2006 Emmanuel Dreyfus, all rights reserved.
@@ -44,11 +44,6 @@ extern struct emul emul_linux32;
/* XXXmanu Do a.out later... */
-#ifdef LINUX32_NPTL
-void linux_nptl_exit_hook(struct proc *);
-#endif
-
-
#ifdef EXEC_ELF32
int linux32_elf32_probe(struct lwp *, struct exec_package *, void *,
char *, vaddr_t *);