From ec045239cf5aa0a1cf3da31067895f342f70771e Mon Sep 17 00:00:00 2001 From: patacongo Date: Thu, 13 Nov 2008 14:44:28 +0000 Subject: [PATCH] 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 --- arch/arm/include/irq.h | 2 +- arch/sh/include/irq.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/include/irq.h b/arch/arm/include/irq.h index 7345b52fde..1d5fddd792 100644 --- a/arch/arm/include/irq.h +++ b/arch/arm/include/irq.h @@ -136,7 +136,6 @@ struct xcptcontext #ifndef CONFIG_DISABLE_SIGNALS void *sigdeliver; /* Actual type is sig_deliver_t */ -#endif /* These are saved copies of LR and CPSR used during * signal processing. @@ -144,6 +143,7 @@ struct xcptcontext uint32 saved_pc; uint32 saved_cpsr; +#endif /* Register save area */ diff --git a/arch/sh/include/irq.h b/arch/sh/include/irq.h index d43237f963..59b3c6c9cf 100644 --- a/arch/sh/include/irq.h +++ b/arch/sh/include/irq.h @@ -66,12 +66,12 @@ struct xcptcontext #ifndef CONFIG_DISABLE_SIGNALS void *sigdeliver; /* Actual type is sig_deliver_t */ -#endif /* These are saved copies of LR and SR used during signal processing. */ uint32 saved_pc; uint32 saved_sr; +#endif /* Register save area */