Hi all,

I found a few enter/leave_critical_section() calls in libs/ directory.
It is ok for flat build, but unavailable in the user library for 
protected/kernel build. Is it correct ?
For example, libs/libc/syslog/lib_setlogmask.c calls them.

In fact, using setlogmask() in protected build raises the build break in RISC-V.
But Arm ports succeed the build because up_irq_save/restore() are defined as 
the inline function.

Thanks,
Yuuichi Nakamura

Reply via email to