diff options
author | David Howells <dhowells@redhat.com> | 2012-10-09 10:47:06 +0200 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2012-10-09 10:47:06 +0200 |
commit | 10b3a979347d4aba7de19e8d33eb8b87fe2a11dd (patch) | |
tree | dc6c61209dded29aa0b32860fc539bc40ab2c249 /arch/m68k/include/asm/swab.h | |
parent | Merge branch 'akpm' (Andrew's patch-bomb) (diff) | |
download | linux-10b3a979347d4aba7de19e8d33eb8b87fe2a11dd.tar.xz linux-10b3a979347d4aba7de19e8d33eb8b87fe2a11dd.zip |
UAPI: (Scripted) Disintegrate arch/m68k/include/asm
Signed-off-by: David Howells <dhowells@redhat.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Michael Kerrisk <mtk.manpages@gmail.com>
Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Acked-by: Dave Jones <davej@redhat.com>
Diffstat (limited to 'arch/m68k/include/asm/swab.h')
-rw-r--r-- | arch/m68k/include/asm/swab.h | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/arch/m68k/include/asm/swab.h b/arch/m68k/include/asm/swab.h deleted file mode 100644 index b7b37a40defc..000000000000 --- a/arch/m68k/include/asm/swab.h +++ /dev/null @@ -1,27 +0,0 @@ -#ifndef _M68K_SWAB_H -#define _M68K_SWAB_H - -#include <linux/types.h> -#include <linux/compiler.h> - -#define __SWAB_64_THRU_32__ - -#if defined (__mcfisaaplus__) || defined (__mcfisac__) -static inline __attribute_const__ __u32 __arch_swab32(__u32 val) -{ - __asm__("byterev %0" : "=d" (val) : "0" (val)); - return val; -} - -#define __arch_swab32 __arch_swab32 -#elif !defined(__mcoldfire__) - -static inline __attribute_const__ __u32 __arch_swab32(__u32 val) -{ - __asm__("rolw #8,%0; swap %0; rolw #8,%0" : "=d" (val) : "0" (val)); - return val; -} -#define __arch_swab32 __arch_swab32 -#endif - -#endif /* _M68K_SWAB_H */ |