m68k: Fix asm/swab.h for ColdFire
authorMaxim Kuvyrkov <[email protected]>
Fri, 2 Oct 2009 08:32:18 +0000 (12:32 +0400)
committerGeert Uytterhoeven <[email protected]>
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 <[email protected]>
Acked-by: Greg Ungerer <[email protected]>
Signed-off-by: Geert Uytterhoeven <[email protected]>
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)
 {