diff options
| author | manu <manu@NetBSD.org> | 2006-02-09 19:18:56 +0000 |
|---|---|---|
| committer | manu <manu@NetBSD.org> | 2006-02-09 19:18:56 +0000 |
| commit | ee0c5b44def8a80be34fd2e5867cafdcc76275b6 (patch) | |
| tree | 183be75b62d5300967eea39ead22b2c61ee63277 /sys/compat/linux/common/linux_socket.c | |
| parent | 0cf592aa8aff28200eebc1da22b795caa7423277 (diff) | |
Add initial (but unfinished) COMPAT_LINUX32 for amd64. This is good enough so
that the i386 license manager part of amd64 version of Fluent works.
While I'm here, add SysV IPC to COMPAT_LINUX/amd64
Diffstat (limited to 'sys/compat/linux/common/linux_socket.c')
| -rw-r--r-- | sys/compat/linux/common/linux_socket.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/compat/linux/common/linux_socket.c b/sys/compat/linux/common/linux_socket.c index 9b7cb9d67d4..02c70d9cabe 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.58 2005/12/11 12:20:19 christos Exp $ */ +/* $NetBSD: linux_socket.c,v 1.59 2006/02/09 19:18:56 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.58 2005/12/11 12:20:19 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux_socket.c,v 1.59 2006/02/09 19:18:56 manu Exp $"); #if defined(_KERNEL_OPT) #include "opt_inet.h" @@ -90,7 +90,9 @@ __KERNEL_RCSID(0, "$NetBSD: linux_socket.c,v 1.58 2005/12/11 12:20:19 christos E #include <compat/linux/common/linux_signal.h> #include <compat/linux/common/linux_ioctl.h> #include <compat/linux/common/linux_socket.h> +#if !defined(__alpha__) && !defined(__amd64__) #include <compat/linux/common/linux_socketcall.h> +#endif #include <compat/linux/common/linux_sockio.h> #include <compat/linux/linux_syscallargs.h> @@ -1672,7 +1674,7 @@ linux_sys_send(l, v, retval) return (sys_sendto(l, &bsa, retval)); } -#endif /* __amd64__ */ +#endif int linux_sys_accept(l, v, retval) |
