summaryrefslogtreecommitdiffstats
path: root/include/asm-ppc/byteorder.h
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2007-07-05 18:01:13 +0200
committerSascha Hauer <sha@octopus.labnet.pengutronix.de>2007-07-05 18:01:13 +0200
commit162484b83c392eeef33de2eb8111fcbe7f1e1e14 (patch)
treed803c4357400b05ff89cb5e25920cd359d0baa94 /include/asm-ppc/byteorder.h
parent13a0908f07be07b58df8f312acf92a58047383a6 (diff)
downloadbarebox-162484b83c392eeef33de2eb8111fcbe7f1e1e14.tar.gz
barebox-162484b83c392eeef33de2eb8111fcbe7f1e1e14.tar.xz
svn_rev_003
remove all #if 0 and #if 1
Diffstat (limited to 'include/asm-ppc/byteorder.h')
-rw-r--r--include/asm-ppc/byteorder.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/asm-ppc/byteorder.h b/include/asm-ppc/byteorder.h
index 3f5bcf63a1..d3e719b8a5 100644
--- a/include/asm-ppc/byteorder.h
+++ b/include/asm-ppc/byteorder.h
@@ -35,10 +35,6 @@ extern __inline__ void st_le32(volatile unsigned *addr, const unsigned val)
inline asm correctly, and can cause file corruption. Until I hear that
it's fixed, I can live without the extra speed. I hope. */
#if !(__GNUC__ >= 2 && __GNUC_MINOR__ >= 90)
-#if 0
-# define __arch_swab16(x) ld_le16(&x)
-# define __arch_swab32(x) ld_le32(&x)
-#else
static __inline__ __attribute__((const)) __u16 ___arch__swab16(__u16 value)
{
__u16 result;
@@ -62,7 +58,6 @@ static __inline__ __attribute__((const)) __u32 ___arch__swab32(__u32 value)
}
#define __arch__swab32(x) ___arch__swab32(x)
#define __arch__swab16(x) ___arch__swab16(x)
-#endif /* 0 */
#endif