Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Maxim Kuvyrkov and committed by
Geert Uytterhoeven
14545264 06a79b82

+1 -1
+1 -1
arch/m68k/include/asm/swab.h
··· 14 14 } 15 15 16 16 #define __arch_swab32 __arch_swab32 17 - #elif !defined(__uClinux__) 17 + #elif !defined(__mcoldfire__) 18 18 19 19 static inline __attribute_const__ __u32 __arch_swab32(__u32 val) 20 20 {