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

Re: [Xen-devel] [PATCH] arm: fix unaligned memcpy() and memmove()



On Fri, 2012-02-24 at 18:45 +0000, David Vrabel wrote:
> From: David Vrabel <david.vrabel@xxxxxxxxxx>
> 
> If memcpy() and memmove() were used with source and destination of
> different alignment then the result would be all jumbled.
> 
> When their implementations were imported from Linux some macros for
> big-endian platforms were taken instead of the correct little-endian
> ones (specifically, the push and pull macros in assembler.h).
> 
> Fix this by taking Linux's arch/include/asm/assembler.h as-is and
> making only the minimum changes necessary for Xen.
> 
> Signed-off-by: David Vrabel <david.vrabel@xxxxxxxxxx>
> Cc: Ian Campbell <ian.campbell@xxxxxxxxxx>

Committed, thanks!



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.