blob: 402a985406e37c2c58259fb28581178c68720496 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
/* Public domain. */
#ifndef _LINUX_REFCOUNT_H
#define _LINUX_REFCOUNT_H
#include <sys/types.h>
#include <linux/atomic.h>
static inline bool
refcount_dec_and_test(uint32_t *p)
{
return atomic_dec_and_test(p);
}
#endif
|