diff options
| author | Michal Idziorek <m.i@gmx.at> | 2014-11-12 23:26:50 +0100 |
|---|---|---|
| committer | Michal Idziorek <m.i@gmx.at> | 2014-11-12 23:26:50 +0100 |
| commit | e3c4f3b03aa77ea19ddf7d982d39871dbdc018c0 (patch) | |
| tree | 3ee256cbc57f46f9ef74f8fc13ee7e9c8d5360d2 /kernel/spinlock.c | |
| parent | 81052efefcb698f8ce7d7f7c01c41def21ff0245 (diff) | |
fixing implicit declarations ...
Diffstat (limited to 'kernel/spinlock.c')
| -rw-r--r-- | kernel/spinlock.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/spinlock.c b/kernel/spinlock.c index 975de68..c6d0023 100644 --- a/kernel/spinlock.c +++ b/kernel/spinlock.c @@ -3,6 +3,8 @@ #include "lib/logger/log.h" #include "lib/int/stdint.h" +// https://gcc.gnu.org/onlinedocs/gcc/_005f_005fatomic-Builtins.html + typedef uint8_t spinlock; volatile spinlock spinlocks[16]; |
