sh: Tidy up SH-4A unaligned load support.
authorPaul Mundt <lethal@linux-sh.org>
Fri, 24 Dec 2010 10:19:23 +0000 (19:19 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 24 Dec 2010 10:19:23 +0000 (19:19 +0900)
commit1dee92bba36b491dbcc15e2cba40501403237f96
tree5cf2800692ed722a72a89f965937c9cb368159db
parent03aa18f550900855c1d3d17ac83c14a3d668d344
sh: Tidy up SH-4A unaligned load support.

The current implementation was rather tied to the packed_struct.h
definitions, which immediately began to clash when the packed_struct.h
types changed and drivers began to include packed_struct.h directly.

In order to support this sort of use it's necessary to get out of the way
with regards to namespace collisions, and at the same time we can also
kill off some duplicate code now that the unaligned headers are a bit
more broken out.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/include/asm/unaligned-sh4a.h