summaryrefslogtreecommitdiffstats
path: root/arch/m68k/include/asm/swab_mm.h
diff options
context:
space:
mode:
authorGreg Ungerer <gerg@uclinux.org>2009-03-16 17:54:49 +1000
committerGreg Ungerer <gerg@uclinux.org>2009-03-16 17:54:49 +1000
commit9863a0babc2f0d920dfb4ddecf4e5b5342cb986b (patch)
tree59f9efa0e9c118ce659e5bda70aac50fa6c5d7ac /arch/m68k/include/asm/swab_mm.h
parentf9847004bf94ba5457738cb5e0f868821864ff50 (diff)
m68k: merge the non-MMU and MMU versions of swab.h
It is trivial to merge the non-MMU and MMU versions of swab.h. Without a single file "make headers_install" is broken for m68k (since each of the sub-varients of swab.h are not installed). Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Diffstat (limited to 'arch/m68k/include/asm/swab_mm.h')
-rw-r--r--arch/m68k/include/asm/swab_mm.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/arch/m68k/include/asm/swab_mm.h b/arch/m68k/include/asm/swab_mm.h
deleted file mode 100644
index 7221e306682..00000000000
--- a/arch/m68k/include/asm/swab_mm.h
+++ /dev/null
@@ -1,16 +0,0 @@
-#ifndef _M68K_SWAB_H
-#define _M68K_SWAB_H
-
-#include <asm/types.h>
-#include <linux/compiler.h>
-
-#define __SWAB_64_THRU_32__
-
-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 /* _M68K_SWAB_H */