Re: [PATCH v3 19/24] C6X: headers

From: Arnd Bergmann
Date: Thu Sep 29 2011 - 10:42:11 EST


On Thursday 29 September 2011 10:24:43 Mark Salter wrote:
> I think we still want the c6x unaligned.h because the hardware can do
> unaligned 32 and 64 memory accesses with no performance penalty. There
> are some addressing mode limitations which is why the compiler doesn't
> use them generally.

Ok. I guess you still only need to override __cpu_to_{le,be}{16,32,64}p and
__{le,be}{16,32,64}_to_cpup then and use include/linux/unaligned/access_ok.h.

Arnd
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/