summaryrefslogtreecommitdiffstats
path: root/arch/m68k/include/asm/swab.h
diff options
context:
space:
mode:
authorMaxim Kuvyrkov <maxim@codesourcery.com>2009-10-02 10:32:18 +0200
committerGeert Uytterhoeven <geert@linux-m68k.org>2010-02-27 18:27:13 +0100
commit145452649d035e4e5152f6c4e6798c41960cad3e (patch)
tree89b02d000f00f30149beec12ac534fd5c59dce97 /arch/m68k/include/asm/swab.h
parentMerge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/raf... (diff)
downloadlinux-145452649d035e4e5152f6c4e6798c41960cad3e.tar.xz
linux-145452649d035e4e5152f6c4e6798c41960cad3e.zip
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/include/asm/swab.h')
-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 5b754aace744..b7b37a40defc 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)
{