MIPS: MIPS64R2: Fix buggy __arch_swab64
authorDavid Daney <ddaney@caviumnetworks.com>
Wed, 17 Dec 2008 21:28:39 +0000 (13:28 -0800)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 22 Dec 2008 08:54:47 +0000 (08:54 +0000)
commited2b03ed3cec2a4719d04ef208319f9de6a4258a
tree302f49c0e98a736a5949a92538bce999fb5bc41a
parent08d9d1c4d44ce43856da048cb0737ef769b61e9a
MIPS: MIPS64R2: Fix buggy __arch_swab64

The way the code is written it was assuming dshd has the function of a
hypothetical dshw instruction ...

Signed-off-by: David Daney <ddaney@caviumnetworks.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/byteorder.h