Date: Thu, 1 Dec 2022 14:04:41 GMT From: Emmanuel Vadot <manu@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: e79a57d4ecb7 - main - linuxkpi: Add `cmpxchg64()` in <asm/atomic.h> Message-ID: <202212011404.2B1E4flG050746@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by manu: URL: https://cgit.FreeBSD.org/src/commit/?id=e79a57d4ecb73b7e779260b80f7b747eb29ce4d2 commit e79a57d4ecb73b7e779260b80f7b747eb29ce4d2 Author: Jean-Sébastien Pédron <dumbbell@FreeBSD.org> AuthorDate: 2022-12-01 13:59:16 +0000 Commit: Emmanuel Vadot <manu@FreeBSD.org> CommitDate: 2022-12-01 13:59:16 +0000 linuxkpi: Add `cmpxchg64()` in <asm/atomic.h> Differential Revision: https://reviews.freebsd.org/D36966 --- sys/compat/linuxkpi/common/include/asm/atomic.h | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/compat/linuxkpi/common/include/asm/atomic.h b/sys/compat/linuxkpi/common/include/asm/atomic.h index b4154274f3f8..bdd02e0e4f55 100644 --- a/sys/compat/linuxkpi/common/include/asm/atomic.h +++ b/sys/compat/linuxkpi/common/include/asm/atomic.h @@ -218,6 +218,7 @@ atomic_cmpxchg(atomic_t *v, int old, int new) __ret.val; \ }) +#define cmpxchg64(...) cmpxchg(__VA_ARGS__) #define cmpxchg_relaxed(...) cmpxchg(__VA_ARGS__) #define xchg(ptr, new) ({ \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202212011404.2B1E4flG050746>