The patch titled Subject: frv: cmpxchg: implement cmpxchg64() has been added to the -mm tree. Its filename is frv-cmpxchg-implement-cmpxchg64.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/frv-cmpxchg-implement-cmpxchg64.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/frv-cmpxchg-implement-cmpxchg64.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Will Deacon <will.deacon@xxxxxxx> Subject: frv: cmpxchg: implement cmpxchg64() FRV supports 64-bit cmpxchg, which is provided by the arch code as __cmpxchg_64 and subsequently used to implement atomic64_cmpxchg. This patch hooks up the generic cmpxchg64 API using the same function, which also provides default definitions of the relaxed, acquire and release variants. This fixes the build when COMPILE_TEST=y and IOMMU_IO_PGTABLE_LPAE=y. Link: http://lkml.kernel.org/r/1499084670-6996-1-git-send-email-will.deacon@xxxxxxx Signed-off-by: Will Deacon <will.deacon@xxxxxxx> Reported-by: kbuild test robot <fengguang.wu@xxxxxxxxx> Cc: Joerg Roedel <joro@xxxxxxxxxx> Cc: Robin Murphy <robin.murphy@xxxxxxx> Cc: Peter Zijlstra <peterz@xxxxxxxxxxxxx> Cc: Ingo Molnar <mingo@xxxxxxxxxx> Cc: David Howells <dhowells@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- arch/frv/include/asm/cmpxchg.h | 1 + 1 file changed, 1 insertion(+) diff -puN arch/frv/include/asm/cmpxchg.h~frv-cmpxchg-implement-cmpxchg64 arch/frv/include/asm/cmpxchg.h --- a/arch/frv/include/asm/cmpxchg.h~frv-cmpxchg-implement-cmpxchg64 +++ a/arch/frv/include/asm/cmpxchg.h @@ -76,6 +76,7 @@ extern uint32_t __xchg_32(uint32_t i, vo * - if (*ptr != test) then orig = *ptr; */ extern uint64_t __cmpxchg_64(uint64_t test, uint64_t new, volatile uint64_t *v); +#define cmpxchg64(p, o, n) __cmpxchg_64((o), (n), (p)) #ifndef CONFIG_FRV_OUTOFLINE_ATOMIC_OPS _ Patches currently in -mm which might be from will.deacon@xxxxxxx are mm-gup-remove-broken-vm_bug_on_page-compound-check-for-hugepages.patch mm-page_ref-ensure-page_ref_unfreeze-is-ordered-against-prior-accesses.patch mm-migrate-stabilise-page-count-when-migrating-transparent-hugepages.patch frv-cmpxchg-implement-cmpxchg64.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html