git: e279c1fcfafb - stable/13 - linuxkpi: Add `cmpxchg64()` in <asm/atomic.h>

From: Emmanuel Vadot <manu_at_FreeBSD.org>
Date: Tue, 24 Jan 2023 08:54:10 UTC
The branch stable/13 has been updated by manu:

URL: https://cgit.FreeBSD.org/src/commit/?id=e279c1fcfafb4e6621118db48df9ba2b32faef03

commit e279c1fcfafb4e6621118db48df9ba2b32faef03
Author:     Jean-Sébastien Pédron <dumbbell@FreeBSD.org>
AuthorDate: 2022-12-01 13:59:16 +0000
Commit:     Emmanuel Vadot <manu@FreeBSD.org>
CommitDate: 2023-01-24 09:08:01 +0000

    linuxkpi: Add `cmpxchg64()` in <asm/atomic.h>
    
    Differential Revision:  https://reviews.freebsd.org/D36966
    
    (cherry picked from commit e79a57d4ecb73b7e779260b80f7b747eb29ce4d2)
---
 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 d7e5338c0356..67f7d3858e24 100644
--- a/sys/compat/linuxkpi/common/include/asm/atomic.h
+++ b/sys/compat/linuxkpi/common/include/asm/atomic.h
@@ -220,6 +220,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) ({						\