Re: [PATCH] sparc: unify ipcbuf.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Sam Ravnborg <sam@xxxxxxxxxxxx>
Date: Sun, 28 Dec 2008 21:04:18 +0100

> Looking closer the two structures only differed on the
> size of __kernel_umode_t.
> Add a sparc32 specific padding to cover this difference.
> 
> The other types had same size on sparc32 and sparc64.
> 
> Signed-off-by: Sam Ravnborg <sam@xxxxxxxxxxxx>

I'm not sure this will work.

You've changed the size of the structure on 32-bit.

The last two "unused" members of ipc64_perm are "unsigned long long",
not just plain "unsigned long" in the 32-bit variant.

But you've used plain "unsigned long" in the unified copy.
--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux