summaryrefslogtreecommitdiff
path: root/include/arch/x86_64/asm/swab.h
diff options
context:
space:
mode:
authorKacper <kacper@mail.openlinux.dev>2025-12-25 19:24:38 +0100
committerKacper <kacper@mail.openlinux.dev>2025-12-25 20:35:03 +0100
commita984eb367c032dbe2577f01238c3d1268526be70 (patch)
tree437fef40379b2758b129ccea39df3570fa2d145e /include/arch/x86_64/asm/swab.h
parent8834571b202cf4dc9c649cfb096c213b6ecf1566 (diff)
Clang-tidy fixes
Diffstat (limited to 'include/arch/x86_64/asm/swab.h')
-rw-r--r--include/arch/x86_64/asm/swab.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/arch/x86_64/asm/swab.h b/include/arch/x86_64/asm/swab.h
index 0324f00d..8707b4cd 100644
--- a/include/arch/x86_64/asm/swab.h
+++ b/include/arch/x86_64/asm/swab.h
@@ -22,9 +22,7 @@ static __inline__ __u64 __arch_swab64(__u64 val)
__u64 u;
} v;
v.u = val;
- __asm__("bswapl %0 ; bswapl %1 ; xchgl %0,%1"
- : "=r"(v.s.a), "=r"(v.s.b)
- : "0"(v.s.a), "1"(v.s.b));
+ __asm__("bswapl %0 ; bswapl %1 ; xchgl %0,%1" : "=r"(v.s.a), "=r"(v.s.b) : "0"(v.s.a), "1"(v.s.b));
return v.u;
#else /* __i386__ */
__asm__("bswapq %0" : "=r"(val) : "0"(val));