Fix up 64-bit byte swaps for most 32-bit architectures
authorLinus Torvalds <torvalds@linux-foundation.org>
Wed, 7 Jan 2009 05:17:57 +0000 (21:17 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 7 Jan 2009 05:17:57 +0000 (21:17 -0800)
commitede6f5aea054d3fb67c78857f7abdee602302043
tree45362cd6f23e2eddc0004c96c46bca4ad82c9bd3
parent637b180c23313f2964e0ef20f1ee375203866968
Fix up 64-bit byte swaps for most 32-bit architectures

The __SWAB_64_THRU_32__ case of a 64-bit byte swap was depending on the
no-longer-existant ___swab32() method (three underscores).  We got rid
of some of the worst indirection and complexity, and now it should just
use the 32-bit swab function that was defined right above it.

Reported-and-tested-by: Nicolas Pitre <nico@cam.org>
Reported-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/swab.h