]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
atomic: Make atomic_san.h self-contained
authorMark Johnston <markj@FreeBSD.org>
Wed, 4 Jan 2023 02:47:52 +0000 (10:47 +0800)
committerMark Johnston <markj@FreeBSD.org>
Mon, 23 Jan 2023 13:50:13 +0000 (08:50 -0500)
commitb3c44b6bb188ca0e6e05ec992271944e516990ae
treee630cd82d337a90dfc161ff4f050a33924771a38
parentab1e089df8cf984b00cf232beac7579989378cf4
atomic: Make atomic_san.h self-contained

This file assumes that uint*_t and __typeof() are defined, so ensure
that consumers don't have to pull in the requisite includes themselves.
This is consistent with sys/atomic_common.h.

Reviewed by: kib
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D37939

(cherry picked from commit 6ebd8466af2a33d88f491799287035aa0477a5c8)
sys/sys/atomic_san.h