Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 3888
b: refs/heads/master
c: 12822bc
h: refs/heads/master
v: v3
  • Loading branch information
GOTO Masanori authored and Linus Torvalds committed Jun 29, 2005
1 parent ba929e7 commit 27de935
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c016e2257acd00a7ffd87fa1eec896138563d1aa
refs/heads/master: 12822bc272e857544476cef9175462711899008b
10 changes: 0 additions & 10 deletions trunk/include/asm-ppc64/byteorder.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ static __inline__ void st_le32(volatile __u32 *addr, const __u32 val)
__asm__ __volatile__ ("stwbrx %1,0,%2" : "=m" (*addr) : "r" (val), "r" (addr));
}

#if 0
static __inline__ __attribute_const__ __u16 ___arch__swab16(__u16 value)
{
__u16 result;
Expand All @@ -63,17 +62,8 @@ static __inline__ __attribute_const__ __u32 ___arch__swab32(__u32 value)
return result;
}

static __inline__ __attribute_const__ __u64 ___arch__swab64(__u64 value)
{
__u64 result;
#error implement me
}

#define __arch__swab16(x) ___arch__swab16(x)
#define __arch__swab32(x) ___arch__swab32(x)
#define __arch__swab64(x) ___arch__swab64(x)

#endif

/* The same, but returns converted value from the location pointer by addr. */
#define __arch__swab16p(addr) ld_le16(addr)
Expand Down

0 comments on commit 27de935

Please sign in to comment.