MIPS: Define __arch_swab64 for all mips r2 cpus
authorDavid Daney <ddaney@caviumnetworks.com>
Mon, 29 Jun 2009 16:54:15 +0000 (09:54 -0700)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 3 Jul 2009 14:45:25 +0000 (15:45 +0100)
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 <ddaney@caviumnetworks.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

No differences found