Re: BUG/PATCH: include/asm-*/fcntl.h

From: Bernd Kischnick (kisch@gmx.li)
Date: Sat Aug 26 2000 - 16:10:50 EST


Andrea Arcangeli wrote:
...
> The not explicit padding you point out above is just happening all the
> time in the 64bit platforms with the default `struct flock`.

Oh, good. Then the patch is correct, I guess ---
it DOES differentiate between 32bit and 64bit architectures.

To resume:
struct flock64 was introduced to the platform-dependent
include/asm/fcntl.h
in the official test7-patch.

test7 provided definitions of struct flock64 for:
alpha
i386
sparc
sparc64

Paulus provided support for the ppc,
but wasn't included in test7

My patch contains definitions for
ia64
m68k
ppc
sh
s390

Still missing:
mips
mips64

These last structs I can't supply, because I don't dare to resolve
the constant clash between F_GETLK=14 on MIPS and the newly introduced
F_SETLKW64=14. I'll leave that to the MIPS maintainer.

ciao
- Bernd

-- 
- Bernd Kischnick

email kisch@mindless.com tel +49-(0)511-18375

Sent through GMX FreeMail - http://www.gmx.net

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



This archive was generated by hypermail 2b29 : Thu Aug 31 2000 - 21:00:18 EST