[PATCH v2 2/3] staging: unisys: convert pack pragma to __packed

Dan Carpenter dan.carpenter at oracle.com
Fri Jun 19 19:11:27 UTC 2015


On Fri, Jun 19, 2015 at 03:02:32PM +0000, Kershner, David A wrote:
> Thanks for the find. Unfortunately, all the structs defined in iochannel.h
> need to be packed since they are shared across different OS and code
> instances. I'll look into changing the s-Par firmware and will update the
> iochannels structure as well.  
> 
> Your reference to x86, does that include x86_64? 

Yes.  I just it up on google so I don't know if it makes a difference
here.

http://stackoverflow.com/questions/3057452/misaligned-pointer-performance

regards,
dan carpenter



More information about the devel mailing list