Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 279785
b: refs/heads/master
c: df0e74d
h: refs/heads/master
i:
  279783: 55ab82b
v: v3
  • Loading branch information
Dave Martin authored and Russell King committed Dec 6, 2011
1 parent e6abb69 commit 1ba365f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 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: 7dbaa466780a754154531b44c2086f6618cee3a8
refs/heads/master: df0e74da6df1568e3722466f85f2f08324bc767e
5 changes: 3 additions & 2 deletions trunk/arch/arm/include/asm/swab.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,13 @@

#if defined(__KERNEL__) && __LINUX_ARM_ARCH__ >= 6

static inline __attribute_const__ __u16 __arch_swab16(__u16 x)
static inline __attribute_const__ __u32 __arch_swahb32(__u32 x)
{
__asm__ ("rev16 %0, %1" : "=r" (x) : "r" (x));
return x;
}
#define __arch_swab16 __arch_swab16
#define __arch_swahb32 __arch_swahb32
#define __arch_swab16(x) ((__u16)__arch_swahb32(x))

static inline __attribute_const__ __u32 __arch_swab32(__u32 x)
{
Expand Down

0 comments on commit 1ba365f

Please sign in to comment.