diff options
author | Haavard Skinnemoen <hskinnemoen@atmel.com> | 2007-06-20 15:29:15 +0200 |
---|---|---|
committer | Haavard Skinnemoen <hskinnemoen@atmel.com> | 2007-07-18 20:45:51 +0200 |
commit | e122eaf69422e5d9ce93fc9786099098e3b9e1c4 (patch) | |
tree | 2300448ae2e0ea454619de01c3ca59715d861fe8 /kernel/kfifo.c | |
parent | a8e93ed8cb3d9aa22d192033009357526548c825 (diff) |
[AVR32] Remove optimization of unaligned word loads
If we let unaligned word loads bypass the generic unaligned handling,
gcc may combine it with a swap.b instruction and turn it into a ldwsp
instruction, which does not work with unaligned addresses.
Revert the optimization to prevent the RNDIS driver from crashing.
Hopefully we'll figure something out later (it may be better to do the
optimization in gcc.)
Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
Diffstat (limited to 'kernel/kfifo.c')
0 files changed, 0 insertions, 0 deletions