diff options
Diffstat (limited to 'nuttx/arch/arm/src/common/up_signal_dispatch.c')
-rw-r--r-- | nuttx/arch/arm/src/common/up_signal_dispatch.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/nuttx/arch/arm/src/common/up_signal_dispatch.c b/nuttx/arch/arm/src/common/up_signal_dispatch.c index d46b77928..75725237f 100644 --- a/nuttx/arch/arm/src/common/up_signal_dispatch.c +++ b/nuttx/arch/arm/src/common/up_signal_dispatch.c @@ -1,7 +1,7 @@ /**************************************************************************** * arch/arm/src/common/up_signal_dispatch.c * - * Copyright (C) 2013 Gregory Nutt. All rights reserved. + * Copyright (C) 2013-2014 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <gnutt@nuttx.org> * * Redistribution and use in source and binary forms, with or without @@ -43,7 +43,9 @@ #include "svcall.h" #include "up_internal.h" -#if defined(CONFIG_NUTTX_KERNEL) && defined(__KERNEL__) && !defined(CONFIG_DISABLE_SIGNALS) +#if ((defined(CONFIG_BUILD_PROTECTED) && defined(__KERNEL__) || \ + defined(defined(CONFIG_BUILD_KERNEL)) && \ + !defined(CONFIG_DISABLE_SIGNALS) /**************************************************************************** * Pre-processor Definitions @@ -99,4 +101,4 @@ void up_signal_dispatch(_sa_sigaction_t sighand, int signo, (uintptr_t)info, (uintptr_t)ucontext); } -#endif /* CONFIG_NUTTX_KERNEL && __KERNEL__ && !CONFIG_DISABLE_SIGNALS */ +#endif /* (CONFIG_BUILD_PROTECTED || CONFIG_BUILD_KERNEL) && !CONFIG_DISABLE_PTHREAD */ |