aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/include/asm/swab.h
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2009-06-14 23:21:54 +0900
committerPaul Mundt <lethal@linux-sh.org>2009-06-14 23:21:54 +0900
commitf8f06bc74b5afbb434b8f3982db19acdbf48dee9 (patch)
tree69599c78e1394f2a4f1ec6990b4f8515a88fe254 /arch/sh/include/asm/swab.h
parent6f2ea729756e09aa02d5ceb395c2a67323948ab2 (diff)
downloadkernel_samsung_smdk4412-f8f06bc74b5afbb434b8f3982db19acdbf48dee9.zip
kernel_samsung_smdk4412-f8f06bc74b5afbb434b8f3982db19acdbf48dee9.tar.gz
kernel_samsung_smdk4412-f8f06bc74b5afbb434b8f3982db19acdbf48dee9.tar.bz2
sh: Tidy up duplication in irq/swab/timex.h.
The asm-generic versions have some helper definitions that we can use instead, drop our definitions and use those instead. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/include/asm/swab.h')
-rw-r--r--arch/sh/include/asm/swab.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/sh/include/asm/swab.h b/arch/sh/include/asm/swab.h
index 0e08fe5..1cd0976 100644
--- a/arch/sh/include/asm/swab.h
+++ b/arch/sh/include/asm/swab.h
@@ -7,8 +7,7 @@
*/
#include <linux/compiler.h>
#include <linux/types.h>
-
-#define __SWAB_64_THRU_32__
+#include <asm-generic/swab.h>
static inline __attribute_const__ __u32 __arch_swab32(__u32 x)
{