OS startup logic should not call group_setupidelfiles() if there is no file system support configured

This commit is contained in:
Gregory Nutt 2013-09-27 13:11:34 -06:00
parent 95bfcafb47
commit e1f9d22482
2 changed files with 7 additions and 0 deletions

View File

@ -5653,3 +5653,8 @@
* drivers/net/encx24j600.c: Removed logic that polls for the * drivers/net/encx24j600.c: Removed logic that polls for the
next outgoing packet from the TX done interrupt handling. From next outgoing packet from the TX done interrupt handling. From
Max Holtzberg (2013-9-27) Max Holtzberg (2013-9-27)
* sched/os_start.c: Should not call group_setupidlefiles() if there
are not file descriptors (and, hence, no file system) (2013-9-27).
* arch/arm/src/sama5/sam_gmac.c: GMAC driver and GMII logic is
code complete and readay for test (2013-9-27)

View File

@ -486,7 +486,9 @@ void os_start(void)
* inherited by all of the threads created by the IDLE task. * inherited by all of the threads created by the IDLE task.
*/ */
#if CONFIG_NFILE_DESCRIPTORS > 0 || CONFIG_NSOCKET_DESCRIPTORS > 0
DEBUGVERIFY(group_setupidlefiles(&g_idletcb)); DEBUGVERIFY(group_setupidlefiles(&g_idletcb));
#endif
/* Complete initialization of the IDLE group. Suppress retention /* Complete initialization of the IDLE group. Suppress retention
* of child status in the IDLE group. * of child status in the IDLE group.