Signal save fields should not be available if there are no signals

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1218 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo 2008-11-13 14:44:28 +00:00
parent 49bb50d31c
commit ec045239cf
2 changed files with 2 additions and 2 deletions

View File

@ -136,7 +136,6 @@ struct xcptcontext
#ifndef CONFIG_DISABLE_SIGNALS #ifndef CONFIG_DISABLE_SIGNALS
void *sigdeliver; /* Actual type is sig_deliver_t */ void *sigdeliver; /* Actual type is sig_deliver_t */
#endif
/* These are saved copies of LR and CPSR used during /* These are saved copies of LR and CPSR used during
* signal processing. * signal processing.
@ -144,6 +143,7 @@ struct xcptcontext
uint32 saved_pc; uint32 saved_pc;
uint32 saved_cpsr; uint32 saved_cpsr;
#endif
/* Register save area */ /* Register save area */

View File

@ -66,12 +66,12 @@ struct xcptcontext
#ifndef CONFIG_DISABLE_SIGNALS #ifndef CONFIG_DISABLE_SIGNALS
void *sigdeliver; /* Actual type is sig_deliver_t */ void *sigdeliver; /* Actual type is sig_deliver_t */
#endif
/* These are saved copies of LR and SR used during signal processing. */ /* These are saved copies of LR and SR used during signal processing. */
uint32 saved_pc; uint32 saved_pc;
uint32 saved_sr; uint32 saved_sr;
#endif
/* Register save area */ /* Register save area */