From: Magnus Damm Date: Thu, 4 Jun 2009 11:20:24 +0000 (+0900) Subject: sh: 16-bit get_unaligned() sh4a fix X-Git-Tag: v2.6.31-rc1~392^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=48c72fccbfb1db01b5d0b98baff4442fea50d7a4;p=pandora-kernel.git sh: 16-bit get_unaligned() sh4a fix This patch fixes the 16-bit case of the sh4a specific unaligned access implementation. Without this patch the 16-bit version of sh4a get_unaligned() results in a 32-bit read which may read more data than intended and/or cross page boundaries. Unbreaks mtd NOR write handling on Migo-R. Signed-off-by: Magnus Damm Signed-off-by: Paul Mundt --- Reading git-diff-tree failed