summaryrefslogtreecommitdiff
path: root/common/mkbp_fifo.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/mkbp_fifo.c')
-rw-r--r--common/mkbp_fifo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/mkbp_fifo.c b/common/mkbp_fifo.c
index 428d6412fc..c394d9fc77 100644
--- a/common/mkbp_fifo.c
+++ b/common/mkbp_fifo.c
@@ -28,7 +28,7 @@
static uint32_t fifo_start; /* first entry */
static uint32_t fifo_end; /* last entry */
-static uint32_t fifo_entries; /* number of existing entries */
+static atomic_t fifo_entries; /* number of existing entries */
static uint8_t fifo_max_depth = FIFO_DEPTH;
static struct ec_response_get_next_event fifo[FIFO_DEPTH];