Commit dac9cafd authored by Jan Kiszka's avatar Jan Kiszka

cobalt/posix/signal: Replace RT-unsafe printk_ratelimit with xnclock_ratelimit

Signed-off-by: Jan Kiszka's avatarJan Kiszka <jan.kiszka@siemens.com>
parent 28ac8219
......@@ -153,7 +153,7 @@ struct cobalt_sigpending *cobalt_signal_alloc(void)
struct cobalt_sigpending *sigp;
if (list_empty(&sigpending_pool)) {
if (printk_ratelimit())
if (xnclock_ratelimit())
printk(XENO_WARNING "signal bucket pool underflows\n");
return NULL;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment