summaryrefslogtreecommitdiffstats
path: root/arch/m68k
diff options
context:
space:
mode:
authorMaxim Kuvyrkov <maxim@codesourcery.com>2009-10-02 12:32:18 +0400
committerGeert Uytterhoeven <geert@linux-m68k.org>2010-02-27 18:27:13 +0100
commit145452649d035e4e5152f6c4e6798c41960cad3e (patch)
tree89b02d000f00f30149beec12ac534fd5c59dce97 /arch/m68k
parent06a79b82b2a3e4bebb9a20638ca208c780e9e507 (diff)
downloadop-kernel-dev-145452649d035e4e5152f6c4e6798c41960cad3e.zip
op-kernel-dev-145452649d035e4e5152f6c4e6798c41960cad3e.tar.gz
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>
Diffstat (limited to 'arch/m68k')
-rw-r--r--arch/m68k/include/asm/swab.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/m68k/include/asm/swab.h b/arch/m68k/include/asm/swab.h
index 5b754aa..b7b37a4 100644
--- a/arch/m68k/include/asm/swab.h
+++ b/arch/m68k/include/asm/swab.h
@@ -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)
{
OpenPOWER on IntegriCloud