mm/iob: Miscellaneous changes and fixes from code review.

This commit is contained in:
Xiang Xiao
2019-01-26 09:56:27 -06:00
committed by Gregory Nutt
parent 0354702525
commit 1ecc33b7db
8 changed files with 26 additions and 26 deletions
+1 -1
View File
@@ -200,7 +200,7 @@ FAR struct iob_qentry_s *iob_alloc_qentry(void)
{
/* Were we called from the interrupt level? */
if (up_interrupt_context())
if (up_interrupt_context() || sched_idletask())
{
/* Yes, then try to allocate an I/O buffer without waiting */