kernel: atomic: change atomic_t to 32-bit int
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
typedef int64_t atomic_t;
|
typedef int32_t atomic_t;
|
||||||
|
|
||||||
/* load and return the value pointed to by `v` */
|
/* load and return the value pointed to by `v` */
|
||||||
static inline atomic_t atomic_load(atomic_t *v)
|
static inline atomic_t atomic_load(atomic_t *v)
|
||||||
|
|||||||
Reference in New Issue
Block a user