m68k: Fix asm/swab.h for ColdFire

Make asm/swab.h compatible with ColdFire ISA_B CPUs.

Signed-off-by: Maxim Kuvyrkov <maxim@codesourcery.com>
Acked-by: Greg Ungerer <gerg@uclinux.org>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
This commit is contained in:
Maxim Kuvyrkov 2009-10-02 12:32:18 +04:00 committed by Geert Uytterhoeven
parent 06a79b82b2
commit 145452649d

View File

@ -14,7 +14,7 @@ static inline __attribute_const__ __u32 __arch_swab32(__u32 val)
} }
#define __arch_swab32 __arch_swab32 #define __arch_swab32 __arch_swab32
#elif !defined(__uClinux__) #elif !defined(__mcoldfire__)
static inline __attribute_const__ __u32 __arch_swab32(__u32 val) static inline __attribute_const__ __u32 __arch_swab32(__u32 val)
{ {