am ae5df14f
: Merge "Use __asm__ instead of asm in public libc headers"
* commit 'ae5df14f9349a000356cf45ec0292bc21ceb5b3a': Use __asm__ instead of asm in public libc headers
This commit is contained in:
commit
ce13670546
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ static inline __attribute_const__ __u32 ___arch__swab32(__u32 x)
|
||||||
#ifndef __thumb__
|
#ifndef __thumb__
|
||||||
if (!__builtin_constant_p(x)) {
|
if (!__builtin_constant_p(x)) {
|
||||||
|
|
||||||
asm ("eor\t%0, %1, %1, ror #16" : "=r" (t) : "r" (x));
|
__asm__ ("eor\t%0, %1, %1, ror #16" : "=r" (t) : "r" (x));
|
||||||
} else
|
} else
|
||||||
#endif
|
#endif
|
||||||
t = x ^ ((x << 16) | (x >> 16));
|
t = x ^ ((x << 16) | (x >> 16));
|
||||||
|
|
Loading…
Reference in a new issue