aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/include/asm/swab.h
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2009-06-14 10:21:54 -0400
committerPaul Mundt <lethal@linux-sh.org>2009-06-14 10:21:54 -0400
commitf8f06bc74b5afbb434b8f3982db19acdbf48dee9 (patch)
tree69599c78e1394f2a4f1ec6990b4f8515a88fe254 /arch/sh/include/asm/swab.h
parent6f2ea729756e09aa02d5ceb395c2a67323948ab2 (diff)
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 0e08fe54ad71..1cd09767a7a3 100644
--- a/arch/sh/include/asm/swab.h
+++ b/arch/sh/include/asm/swab.h
@@ -7,8 +7,7 @@
7 */ 7 */
8#include <linux/compiler.h> 8#include <linux/compiler.h>
9#include <linux/types.h> 9#include <linux/types.h>
10 10#include <asm-generic/swab.h>
11#define __SWAB_64_THRU_32__
12 11
13static inline __attribute_const__ __u32 __arch_swab32(__u32 x) 12static inline __attribute_const__ __u32 __arch_swab32(__u32 x)
14{ 13{