lkml.org 
[lkml]   [2000]   [Aug]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: BUG/PATCH: include/asm-*/fcntl.h
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/

\
 
 \ /
  Last update: 2005-03-22 12:38    [W:0.062 / U:7.632 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site