Merge "Improve the comment for atomic_flag." into main am: c897cd7a6d

Original change: https://android-review.googlesource.com/c/platform/bionic/+/3533161

Change-Id: I7265a300696a8047b028ca414f837b1c8f5d0013
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
diff --git a/libc/include/bits/stdatomic.h b/libc/include/bits/stdatomic.h
index 8631874..0d39a61 100644
--- a/libc/include/bits/stdatomic.h
+++ b/libc/include/bits/stdatomic.h
@@ -216,8 +216,10 @@
 /*
  * 7.17.8 Atomic flag type and operations.
  *
- * XXX: Assume atomic_bool can be used as an atomic_flag. Is there some
- * kind of compiler built-in type we could use?
+ * atomic_bool can be used to provide a lock-free atomic flag type on every
+ * Android architecture, so this shouldn't be needed in new Android code,
+ * but is in ISO C, and available for portability to PA-RISC and
+ * microcontrollers.
  */
 
 typedef struct {