m68k: Fix asm/swab.h for ColdFire
authorMaxim Kuvyrkov <maxim@codesourcery.com>
Fri, 2 Oct 2009 08:32:18 +0000 (12:32 +0400)
committerGeert Uytterhoeven <geert@linux-m68k.org>
Sat, 27 Feb 2010 17:27:13 +0000 (18:27 +0100)
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>
arch/m68k/include/asm/swab.h

index 5b754aace744959af8918e2b94ab3f7351c1ed1c..b7b37a40defc82d167a354fd9a8a63aeb4e4cf48 100644 (file)
@@ -14,7 +14,7 @@ static inline __attribute_const__ __u32 __arch_swab32(__u32 val)
 }
 
 #define __arch_swab32 __arch_swab32
-#elif !defined(__uClinux__)
+#elif !defined(__mcoldfire__)
 
 static inline __attribute_const__ __u32 __arch_swab32(__u32 val)
 {