]> www.infradead.org Git - mtd-utils.git/commit
Fix alignment trap triggered by NEON instructions
authorYuanjie Huang <Yuanjie.Huang@windriver.com>
Thu, 2 Mar 2017 09:43:56 +0000 (10:43 +0100)
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>
Thu, 2 Mar 2017 09:43:56 +0000 (10:43 +0100)
commit7d026a85946a08b8167dcd792ea6660bf6a49e08
treee5679d9197ceced8d7fa488c34b1d34e6b317552
parentd7e86124d55bbcee1b82c68b82389ebcda588076
Fix alignment trap triggered by NEON instructions

NEON instruction VLD1.64 was used to copy 64 bits data after type
casting, and they will trigger alignment trap.
This patch uses memcpy to avoid alignment problem.

Signed-off-by: Yuanjie Huang <Yuanjie.Huang@windriver.com>
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
ubifs-utils/mkfs.ubifs/key.h