| 178 | |
| 179 | #ifndef atomic_load_acq_8 |
| 180 | static __inline uint8_t |
| 181 | atomic_load_acq_8(volatile uint8_t *p) |
| 182 | { |
| 183 | int shift; |
| 184 | uint8_t ret; |
| 185 | |
| 186 | shift = _ATOMIC_BYTE_SHIFT(p); |
| 187 | ret = (atomic_load_acq_32(_ATOMIC_WORD_ALIGNED(p)) >> shift) & 0xff; |
| 188 | return (ret); |
| 189 | } |
| 190 | #endif |
| 191 | |
| 192 | #ifndef atomic_load_acq_16 |
nothing calls this directly
no test coverage detected