From: David Daney Date: Mon, 29 Jun 2009 16:54:15 +0000 (-0700) Subject: MIPS: Define __arch_swab64 for all mips r2 cpus X-Git-Tag: v2.6.31-rc2~5^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b53d4d1f8d522342e66f79b8b49a19835071fed4;p=pandora-kernel.git MIPS: Define __arch_swab64 for all mips r2 cpus Some CPUs implement mipsr2, but because they are a super-set of mips64r2 do not define CONFIG_CPU_MIPS64_R2. Cavium OCTEON falls into this category. We would still like to use the optimized implementation, so since we have already checked for CONFIG_CPU_MIPSR2, checking for CONFIG_64BIT instead of CONFIG_CPU_MIPS64_R2 is sufficient. Signed-off-by: David Daney Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed