Skip to content

Commit a25e101

Browse files
committed
fixup! compiler-builtins: Change gating for outline atomic symbols
1 parent 07f3a98 commit a25e101

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

library/compiler-builtins/compiler-builtins/src/aarch64_outline_atomics.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ macro_rules! compare_and_swap {
196196
"cbnz w17, 0b",
197197
"1:",
198198
"ret",
199-
have_lse = sym crate::aarch64_linux::HAVE_LSE_ATOMICS,
199+
have_lse = sym crate::aarch64_outline_atomics::HAVE_LSE_ATOMICS,
200200
}
201201
}
202202
}
@@ -231,7 +231,7 @@ macro_rules! compare_and_swap_i128 {
231231
"cbnz w15, 0b",
232232
"1:",
233233
"ret",
234-
have_lse = sym crate::aarch64_linux::HAVE_LSE_ATOMICS,
234+
have_lse = sym crate::aarch64_outline_atomics::HAVE_LSE_ATOMICS,
235235
}
236236
}
237237
}
@@ -262,7 +262,7 @@ macro_rules! swap {
262262
concat!(stxr!($ordering, $bytes), " w17, ", reg!($bytes, 16), ", [x1]"),
263263
"cbnz w17, 0b",
264264
"ret",
265-
have_lse = sym crate::aarch64_linux::HAVE_LSE_ATOMICS,
265+
have_lse = sym crate::aarch64_outline_atomics::HAVE_LSE_ATOMICS,
266266
}
267267
}
268268
}
@@ -295,7 +295,7 @@ macro_rules! fetch_op {
295295
concat!(stxr!($ordering, $bytes), " w15, ", reg!($bytes, 17), ", [x1]"),
296296
"cbnz w15, 0b",
297297
"ret",
298-
have_lse = sym crate::aarch64_linux::HAVE_LSE_ATOMICS,
298+
have_lse = sym crate::aarch64_outline_atomics::HAVE_LSE_ATOMICS,
299299
}
300300
}
301301
}

0 commit comments

Comments
 (0)