summaryrefslogtreecommitdiff
path: root/core/cortex-m0/atomic.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/cortex-m0/atomic.h')
-rw-r--r--core/cortex-m0/atomic.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/core/cortex-m0/atomic.h b/core/cortex-m0/atomic.h
index 1774d90332..aef4d2a0a6 100644
--- a/core/cortex-m0/atomic.h
+++ b/core/cortex-m0/atomic.h
@@ -8,11 +8,9 @@
#ifndef __CROS_EC_ATOMIC_H
#define __CROS_EC_ATOMIC_H
+#include "atomic_t.h"
#include "common.h"
-typedef int atomic_t;
-typedef atomic_t atomic_val_t;
-
/**
* Implements atomic arithmetic operations on 32-bit integers.
*