Merge remote-tracking branch 'iommu/next'
[deliverable/linux.git] / arch / arm64 / include / asm / cmpxchg.h
index bd86a79491bce84d34576d261214216282265d9a..91b26d26af8a5f961ed4d8905daffc11be5d72fa 100644 (file)
@@ -43,10 +43,8 @@ static inline unsigned long __xchg_case_##name(unsigned long x,              \
        "       cbnz    %w1, 1b\n"                                      \
        "       " #mb,                                                  \
        /* LSE atomics */                                               \
-       "       nop\n"                                                  \
-       "       nop\n"                                                  \
        "       swp" #acq_lse #rel #sz "\t%" #w "3, %" #w "0, %2\n"     \
-       "       nop\n"                                                  \
+               __nops(3)                                               \
        "       " #nop_lse)                                             \
        : "=&r" (ret), "=&r" (tmp), "+Q" (*(u8 *)ptr)                   \
        : "r" (x)                                                       \
This page took 0.04007 seconds and 5 git commands to generate.