| 78 | #define counter_u64_add_protected(c, inc) counter_u64_add(c, inc) |
| 79 | |
| 80 | static inline void |
| 81 | counter_u64_add(counter_u64_t c, int64_t inc) |
| 82 | { |
| 83 | |
| 84 | atomic_add_64((uint64_t *)zpcpu_get(c), inc); |
| 85 | } |
| 86 | |
| 87 | #endif /* ! _MACHINE_COUNTER_H_ */ |
nothing calls this directly
no test coverage detected