Re: [PATCH] socket.h for MIPS

From: Ralf Baechle (ralf@uni-koblenz.de)
Date: Tue May 16 2000 - 15:02:20 EST


On Tue, May 16, 2000 at 12:01:13PM -0700, roussel@efi.com wrote:

> So I found that the definitions for SOCK_DGRAM and SOCK_STREAM in files
> `include/asm-mips/socket.h' and `include/asm-mips64/socket.h' were not
> in sync with the definitions from `include/linux/socket.h'
>
> That's a fairly trivial patch.

Except that it's fairly wrong. MIPS ABI uses swapped values for
SOCK_DGRAM and SOCK_STREAM. Therefore the definitions in <linux/socket.h>
have to be moved to <asm/socket.h> same as already done in 2.2. It's
just a few hours that I sent a patch which fixes this to Linus.

  Ralf

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



This archive was generated by hypermail 2b29 : Tue May 23 2000 - 21:00:11 EST