[lkml]   [2000]   [Aug]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: BUG/PATCH: include/asm-*/fcntl.h
I just wrote:
> > Albert D. Calahan writes:
[ alignment problems with struct flock64 ]
> >
> I didn't invent the definition for struct flock64.
> The definition is in the test7-patch, and it's identical in
> include/asm-i386/fcntl.h and in include/asm-sparc/fcntl.h

And in include/asm-sparc64/fcntl.h, we have

struct flock {
short l_type;
short l_whence;
off_t l_start;
off_t l_len;
pid_t l_pid;
short __unused;
#ifdef __KERNEL__
#define flock64 flock

This definition for flock64 was also introduced in the test7-patch.
I reused it for the ia64-architecture fcntl.h in my patch.
On a 64 bit plattform there most probably are alignment problems with the


- Bernd Kischnick

email tel +49-(0)511-18375

Sent through GMX FreeMail -

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

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