From cbdb77a10a33626f51bc3402a6893c04c686d2d1 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Fri, 27 Sep 2013 13:11:34 -0600 Subject: OS startup logic should not call group_setupidelfiles() if there is no file system support configured --- nuttx/ChangeLog | 5 +++++ nuttx/sched/os_start.c | 2 ++ 2 files changed, 7 insertions(+) diff --git a/nuttx/ChangeLog b/nuttx/ChangeLog index 985347a57..636751bb3 100644 --- a/nuttx/ChangeLog +++ b/nuttx/ChangeLog @@ -5653,3 +5653,8 @@ * drivers/net/encx24j600.c: Removed logic that polls for the next outgoing packet from the TX done interrupt handling. From 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) + diff --git a/nuttx/sched/os_start.c b/nuttx/sched/os_start.c index 84c61044b..a7cd4b9f4 100644 --- a/nuttx/sched/os_start.c +++ b/nuttx/sched/os_start.c @@ -486,7 +486,9 @@ void os_start(void) * 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)); +#endif /* Complete initialization of the IDLE group. Suppress retention * of child status in the IDLE group. -- cgit v1.2.3