]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[ARM] Fix byte order macros for Thumb
authorH. Peter Anvin <hpa@zytor.com>
Mon, 19 Jun 2006 14:35:36 +0000 (15:35 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 19 Jun 2006 14:35:36 +0000 (15:35 +0100)
commit441ff855f3edf5d355bea30f557bbed6bcd42c6c
tree6327490a1106630deb7fc20255c61072c85a943f
parent5e6423871772b89120c9fb356d2eabb67fea60bd
[ARM] Fix byte order macros for Thumb

The byte order functions are visible to userspace.  Unfortunately,
__arch_swab32() contains an assembly instruction which is invalid when
compiling for Thumb.  This reverts to the C version when compiling for
Thumb.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
include/asm-arm/byteorder.h