From: David Gibson Date: Tue, 3 Feb 2015 05:36:23 +0000 (+1100) Subject: powerpc: Remove arch specific byteswappers from the MXC MMC driver X-Git-Tag: omap-for-v4.1/fixes-rc1~126^2~58^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7a8bf874487cc8990857973a789d7161b699389d;p=pandora-kernel.git powerpc: Remove arch specific byteswappers from the MXC MMC driver When the MXC MMUC driver is used on a Freescale MPC512x machine, it contains some additional byteswapping code (I'm assuming this is a workaround for a hardware defect). This uses the ppc specific st_le32() function, but there's no reason not to use the generic swab32() function instead. gcc is capable of generating the efficient ppc byte-reversing load/store instructions without the arch-specific helper. This patch, therefore, switches to the generic byteswap routine. Cc: Shawn Guo Cc: Sascha Hauer Signed-off-by: David Gibson Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed