-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
From d39769c1ba06ea04dde5f259c70b9b110bb7d4d9 Mon Sep 17 00:00:00 2001 | ||
From df2234c7c84ef5a4b6335265d6ae763337eafc31 Mon Sep 17 00:00:00 2001 | ||
From: Your Name <[email protected]> | ||
Date: Sat, 11 May 2024 18:48:20 +0200 | ||
Subject: [PATCH] x | ||
|
@@ -8,14 +8,14 @@ Subject: [PATCH] x | |
1 file changed, 2 insertions(+) | ||
|
||
diff --git a/libatomic/libatomic_i.h b/libatomic/libatomic_i.h | ||
index 861a22d..0435e2a 100644 | ||
index 861a22d..3fd6620 100644 | ||
--- a/libatomic/libatomic_i.h | ||
+++ b/libatomic/libatomic_i.h | ||
@@ -292,4 +292,6 @@ bool libat_is_lock_free (size_t, void *) MAN(is_lock_free); | ||
# define EXPORT_ALIAS(X) /* original symbol is exported */ | ||
#endif | ||
|
||
+int libat_test_and_set (volatile void*, int) __asm__("__atomic_test_and_set"); | ||
+bool libat_test_and_set (volatile void*, int) __asm__("__atomic_test_and_set"); | ||
+ | ||
#endif /* LIBATOMIC_H */ | ||
-- | ||
|