powerpc: Merge ipcbuf.h
Arnd Bergmann
arnd at arndb.de
Wed Nov 2 06:13:50 EST 2005
On Dinsdag 01 November 2005 06:53, David Gibson wrote:
> +struct ipc64_perm
> +{
> + __kernel_key_t key;
> + __kernel_uid_t uid;
> + __kernel_gid_t gid;
> + __kernel_uid_t cuid;
> + __kernel_gid_t cgid;
> + __kernel_mode_t mode;
> + unsigned int seq;
> + unsigned int __pad1;
> + u64 __unused1;
> + u64 __unused2;
> +};
ipc64_perm is a user visible structure, so you have to use
__u64 here instead of u64. Even that does not exists if
you build with 32 bit and __STRICT_ANSI__, so it might
be better yet to use four __u32 for the unused fields.
Arnd <><
More information about the Linuxppc64-dev
mailing list