summaryrefslogtreecommitdiff
path: root/sys/compat/linux/common/linux_exec.c
diff options
context:
space:
mode:
authorjdolecek <jdolecek@NetBSD.org>2000-12-02 16:05:04 +0000
committerjdolecek <jdolecek@NetBSD.org>2000-12-02 16:05:04 +0000
commitda1aefe9bfdd62b17fba81321fb7d7c260c5d4b2 (patch)
tree4d8fd20ea3938ec6a82960e0729c425ae676992b /sys/compat/linux/common/linux_exec.c
parent6719ee1cf71a3c0c1ac90b6dd0a695deefae3b70 (diff)
if machdep define LINUX_MACHDEP_HAS_SEPARATED_SYSCALL is defined, put
linux_syscall() to emul_linux define LINUX_MACHDEP_HAS_SEPARATED_SYSCALL for i386
Diffstat (limited to 'sys/compat/linux/common/linux_exec.c')
-rw-r--r--sys/compat/linux/common/linux_exec.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/compat/linux/common/linux_exec.c b/sys/compat/linux/common/linux_exec.c
index aa512e18fc6..e9b5af7b2eb 100644
--- a/sys/compat/linux/common/linux_exec.c
+++ b/sys/compat/linux/common/linux_exec.c
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_exec.c,v 1.41 2000/12/01 20:31:13 jdolecek Exp $ */
+/* $NetBSD: linux_exec.c,v 1.42 2000/12/02 16:05:04 jdolecek Exp $ */
/*-
* Copyright (c) 1994, 1995, 1998 The NetBSD Foundation, Inc.
@@ -124,6 +124,11 @@ const struct emul emul_linux = {
#else
0,
#endif
+#ifdef LINUX_MACHDEP_HAS_SEPARATED_SYSCALL
+ linux_syscall,
+#else
+ NULL,
+#endif
};
/*