*
* \brief Idle loop for preemptive scheduling
*
- * \version $Id: proc.c 1616 2008-08-10 19:41:26Z bernie $
+ * \version $Id$
* \author Bernie Innocenti <bernie@codewiz.org>
*/
#include <cfg/module.h>
-static cpustack_t idle_stack[CONFIG_KERN_MINSTACKSIZE / sizeof(cpustack_t)];
+// below there's a TRACE so we need a big stack
+PROC_DEFINE_STACK(idle_stack, KERN_MINSTACKSIZE * 2);
/**
* The idle process