Source-Changes-D archive

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

re: Unaligned access in kernel on ARMv6+ (Re: CVS commit: src/sys/dev/usb)



> In short, this is because -munaligned-access is enabled on ARMv6+ by
> default for GCC. As the unaligned memory access is forbidden in the
> supervisor mode unlike in the user mode, we need to explicitly specify
> -mno-unaligned-access for kernel on ARMv6+.

i think this seems like the right thing to do here.

othewise we'd have to patch this all over..


.mrg.


Home | Main Index | Thread Index | Old Index