diff options
| author | manu <manu@NetBSD.org> | 2005-05-03 16:26:27 +0000 |
|---|---|---|
| committer | manu <manu@NetBSD.org> | 2005-05-03 16:26:27 +0000 |
| commit | 89647c7ca6f19d5682117c3285ebb8c8ba833a59 (patch) | |
| tree | 2cc8787cfddb0914a698128c37c6b96bea19899a /sys/compat/linux/common/linux_socket.c | |
| parent | 6c6d96d112084303316c8cb293d4b2e4b1987097 (diff) | |
First work on COMPAT_LINUX/amd64
Process startup and dynamiclinking work, but processes hang due to
Linux arch_prctl(2) not being really supported yet.
Diffstat (limited to 'sys/compat/linux/common/linux_socket.c')
| -rw-r--r-- | sys/compat/linux/common/linux_socket.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/compat/linux/common/linux_socket.c b/sys/compat/linux/common/linux_socket.c index 8bdba2ff889..c5a56c24192 100644 --- a/sys/compat/linux/common/linux_socket.c +++ b/sys/compat/linux/common/linux_socket.c @@ -1,4 +1,4 @@ -/* $NetBSD: linux_socket.c,v 1.55 2005/02/26 23:10:19 perry Exp $ */ +/* $NetBSD: linux_socket.c,v 1.56 2005/05/03 16:26:29 manu Exp $ */ /*- * Copyright (c) 1995, 1998 The NetBSD Foundation, Inc. @@ -42,7 +42,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: linux_socket.c,v 1.55 2005/02/26 23:10:19 perry Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux_socket.c,v 1.56 2005/05/03 16:26:29 manu Exp $"); #if defined(_KERNEL_OPT) #include "opt_inet.h" @@ -1618,6 +1618,7 @@ linux_sa_put(osa) return (0); } +#ifndef __amd64__ int linux_sys_recv(l, v, retval) struct lwp *l; @@ -1666,6 +1667,7 @@ linux_sys_send(l, v, retval) return (sys_sendto(l, &bsa, retval)); } +#endif /* __amd64__ */ int linux_sys_accept(l, v, retval) |
