mirror of
https://github.com/ceph/ceph
synced 2025-02-24 11:37:37 +00:00
Merge PR #47153 into main
* refs/pull/47153/head: build: fix atomic linking with LTO on s390x Reviewed-by: Justin Caratzas <jcaratza@redhat.com> Reviewed-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
commit
7cfe523c7f
@ -26,6 +26,7 @@ badone Brad Hubbard <bhubbard@redhat.com>
|
||||
baruza Barbora Ančincová <bara@redhat.com>
|
||||
bassamtabbara Bassam Tabbara <bassam.tabbara@quantum.com>
|
||||
batrick Patrick Donnelly <pdonnell@redhat.com>
|
||||
bigjust Justin Caratzas <jcaratza@redhat.com>
|
||||
bk201 Kiefer Chang <kiefer.chang@suse.com>
|
||||
BlaineEXE Blaine Gardner <bgardner@suse.com>
|
||||
branch-predictor Piotr Dałek <piotr.dalek@corp.ovh.com>
|
||||
|
@ -377,6 +377,7 @@ Requires: systemd
|
||||
BuildRequires: boost-random
|
||||
BuildRequires: nss-devel
|
||||
BuildRequires: keyutils-libs-devel
|
||||
BuildRequires: libatomic
|
||||
BuildRequires: libibverbs-devel
|
||||
BuildRequires: librdmacm-devel
|
||||
BuildRequires: ninja-build
|
||||
|
@ -27,6 +27,7 @@ struct tagged_ptr {
|
||||
std::size_t tag;
|
||||
};
|
||||
|
||||
void atomic16(std::atomic<tagged_ptr> *ptr) __attribute__ ((used));
|
||||
void atomic16(std::atomic<tagged_ptr> *ptr)
|
||||
{
|
||||
tagged_ptr p{nullptr, 1};
|
||||
|
Loading…
Reference in New Issue
Block a user