From e3c4f3b03aa77ea19ddf7d982d39871dbdc018c0 Mon Sep 17 00:00:00 2001 From: Michal Idziorek Date: Wed, 12 Nov 2014 23:26:50 +0100 Subject: fixing implicit declarations ... --- kernel/spinlock.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'kernel/spinlock.c') 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]; -- cgit v1.2.3