Re: kernel unaligned accesses on 2.6.29.

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

 



From: Robin Holt <holt@xxxxxxx>
Date: Tue, 24 Mar 2009 20:14:18 -0500

> You either need to use memcpy, or not define it as an unsigned char.
> Tony, any suggestions?

memcpy() might not work in this scenerio.

GCC can still emit an inline 64-bit memory access if it
deems that the objects involved should be sufficiently
aligned.

It might not be able to in this specific case, but it is
something to be aware of.  Don't be convinced of any fix
for this until the assembler is inspected by hand :-)
--
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Sparc Linux]     [DCCP]     [Linux ARM]     [Yosemite News]     [Linux SCSI]     [Linux x86_64]     [Linux for Ham Radio]

  Powered by Linux