diff options
| author | Miguel <m.i@gmx.at> | 2018-08-22 15:16:26 +0200 |
|---|---|---|
| committer | Miguel <m.i@gmx.at> | 2018-08-22 15:16:26 +0200 |
| commit | d57a38d7fa9501a5ec17f75a1efaef9d62df5bef (patch) | |
| tree | 508eb0131ba6d241f69483e3b7a9d556f786643f /kernel/spinlock.c | |
| parent | eddfc270d887283674563530b9fd982a2692f8c3 (diff) | |
improving logging
Diffstat (limited to 'kernel/spinlock.c')
| -rw-r--r-- | kernel/spinlock.c | 5 |
1 files changed, 2 insertions, 3 deletions
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<NUMBER_SPINLOCKS;i++) - log(FOOLOS_MODULE_NAME,FOOLOS_LOG_INFO,"%d",spinlocks[i]); + log(FOOLOS_MODULE_NAME,5,"%d",spinlocks[i]); } /* |
