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
#endif
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
struct.
Bernd
-- - Bernd Kischnickemail 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:17 EST