| 191 | |
| 192 | #ifndef atomic_load_acq_16 |
| 193 | static __inline uint16_t |
| 194 | atomic_load_acq_16(volatile uint16_t *p) |
| 195 | { |
| 196 | int shift; |
| 197 | uint16_t ret; |
| 198 | |
| 199 | shift = _ATOMIC_HWORD_SHIFT(p); |
| 200 | ret = (atomic_load_acq_32(_ATOMIC_WORD_ALIGNED(p)) >> shift) & |
| 201 | 0xffff; |
| 202 | return (ret); |
| 203 | } |
| 204 | #endif |
| 205 | |
| 206 | #undef _ATOMIC_WORD_ALIGNED |
nothing calls this directly
no test coverage detected