From d57a38d7fa9501a5ec17f75a1efaef9d62df5bef Mon Sep 17 00:00:00 2001 From: Miguel Date: Wed, 22 Aug 2018 15:16:26 +0200 Subject: improving logging --- kernel/spinlock.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'kernel/spinlock.c') diff --git a/kernel/spinlock.c b/kernel/spinlock.c index 04e359a..99121c0 100644 --- a/kernel/spinlock.c +++ b/kernel/spinlock.c @@ -3,7 +3,6 @@ #include "kernel.h" -#include "lib/logger/log.h" #include "asm/x86.h" // https://gcc.gnu.org/onlinedocs/gcc/_005f_005fatomic-Builtins.html @@ -12,9 +11,9 @@ static volatile uint32_t spinlocks[NUMBER_SPINLOCKS]; void check_spinlocks() { - log(FOOLOS_MODULE_NAME,FOOLOS_LOG_INFO,"Spinlocks at 0x%08X ",spinlocks); + log(FOOLOS_MODULE_NAME,5,"Spinlocks at 0x%08X ",spinlocks); for(int i=0;i