From: Paul Mundt Date: Thu, 13 Aug 2009 17:10:59 +0000 (+0900) Subject: sh: unwinder: Fix up usage of unaligned accessors. X-Git-Tag: v2.6.32-rc1~640^2~68^2~4^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3497447f15485b479366ec86effaac16fc82411b;p=pandora-kernel.git sh: unwinder: Fix up usage of unaligned accessors. This was using internal symbols for unaligned accesses, bypassing the exposed interface for variable sized safe accesses. This converts all of the __get_unaligned_cpuXX() users over to get_unaligned() directly, relying on the cast to select the proper internal routine. Additionally, the __put_unaligned_cpuXX() case is superfluous given that the destination address is aligned in all of the current cases, so just drop that outright. Furthermore, this switches to the asm/unaligned.h header instead of the asm-generic version, which was silently bypassing the SH-4A optimized unaligned ops. Signed-off-by: Paul Mundt --- Reading git-diff-tree failed