Spam: Re: [PATCH] fixing sendfile on 64bit architectures

From: Andrew Morton
Date: Thu May 20 2004 - 19:17:01 EST


David Mosberger <davidm@xxxxxxxxxxxxxxxxx> wrote:
>
> The attached patch should have these fixed.

That builds OK on ia32, sparc64, ppc64 and, I assume, ia64.

x86_64 has a problem in ipc/util.c:

int ipc_parse_version (int *cmd)
{

comes out as

int 0x0100
{

due to:

#if defined(__ia64__) || defined(__x86_64__) || defined(__hppa__)
/* On IA-64, we always use the "64-bit version" of the IPC structures. */
# define ipc_parse_version(cmd) IPC_64
#else
int ipc_parse_version (int *cmd);
#endif


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/