diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2015-01-24 06:03:39 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2015-01-24 06:03:39 -0600 |
commit | ec6b436dc9afec0d39ce52c3e589a4e37bc1facd (patch) | |
tree | f49f588fd7fb77f9799fc666da6246f35efb68b6 /nuttx/include | |
parent | dc57c53f080c460896db6309f98511f592c149ce (diff) | |
download | px4-nuttx-ec6b436dc9afec0d39ce52c3e589a4e37bc1facd.tar.gz px4-nuttx-ec6b436dc9afec0d39ce52c3e589a4e37bc1facd.tar.bz2 px4-nuttx-ec6b436dc9afec0d39ce52c3e589a4e37bc1facd.zip |
Add CONFIG_STACK_COLORATION that does the same thing as CONFIG_DEBUG_STACK but without enabling debug. From David Sidrane
Diffstat (limited to 'nuttx/include')
-rw-r--r-- | nuttx/include/nuttx/arch.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/include/nuttx/arch.h b/nuttx/include/nuttx/arch.h index f2b2b8d5e..987e67dff 100644 --- a/nuttx/include/nuttx/arch.h +++ b/nuttx/include/nuttx/arch.h @@ -1729,7 +1729,7 @@ void irq_dispatch(int irq, FAR void *context); * ****************************************************************************/ -#if defined(CONFIG_DEBUG) && defined(CONFIG_DEBUG_STACK) +#if defined(CONFIG_DEBUG) && defined(CONFIG_DEBUG_STACK) || defined(CONFIG_STACK_COLORATION) struct tcb_s; size_t up_check_tcbstack(FAR struct tcb_s *tcb); ssize_t up_check_tcbstack_remain(FAR struct tcb_s *tcb); |