ia64/xen-unstable

changeset 16504:7573133112c5

vnet: Fix compilation on x86/64 which erroneously asserts
__ARCH_WANT_SYS_SOCKETCALL.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Tue Dec 04 10:10:23 2007 +0000 (2007-12-04)
parents f54b2dd57037
children 01faea565a9b
files tools/vnet/vnet-module/varp_socket.c
line diff
     1.1 --- a/tools/vnet/vnet-module/varp_socket.c	Tue Dec 04 10:04:00 2007 +0000
     1.2 +++ b/tools/vnet/vnet-module/varp_socket.c	Tue Dec 04 10:10:23 2007 +0000
     1.3 @@ -77,9 +77,10 @@ static inline _syscall3(int, fcntl,
     1.4   * Some architectures use socketcall() to multiplex the socket-related calls,
     1.5   * but others define individual syscalls instead.
     1.6   * Architectures using socketcall() define __ARCH_WANT_SYS_SOCKETCALL.
     1.7 + * NB. x86_64 architecture asserts __ARCH_WANT_SYS_SOCKETCALL in error.
     1.8   */
     1.9  
    1.10 -#ifdef __ARCH_WANT_SYS_SOCKETCALL
    1.11 +#if defined(__ARCH_WANT_SYS_SOCKETCALL) && !defined(__x86_64__)
    1.12  
    1.13  /* Define the socketcall() syscall.
    1.14   * Multiplexes all the socket-related calls.