292e11
--- ceph-17.1.0/cmake/modules/CheckCxxAtomic.cmake.orig	2022-03-07 15:01:49.809505648 -0500
292e11
+++ ceph-17.1.0/cmake/modules/CheckCxxAtomic.cmake	2022-03-09 12:47:31.018446185 -0500
292e11
@@ -21,6 +21,7 @@
292e11
 // We specifically test access via an otherwise unknown pointer here
292e11
 // to ensure we get the most complex case.  If this access can be
292e11
 // done without libatomic, then all accesses can be done.
292e11
+bool atomic16(std::atomic<unsigned __int128> *ptr) __attribute__ ((used));
292e11
 bool atomic16(std::atomic<unsigned __int128> *ptr)
292e11
 {
292e11
   return *ptr != 0;