diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-05-27 19:18:02 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-05-27 19:18:02 +0000 |
commit | 71d07b9ddf3873fdeb40d26d39b7bcd7a3d18552 (patch) | |
tree | b047e84ef5c9e216bcc6dbb6497a9db323218968 /c/src/exec/sapi/include/confdefs.h | |
parent | Regenerated. (diff) | |
download | rtems-71d07b9ddf3873fdeb40d26d39b7bcd7a3d18552.tar.bz2 |
Corrected interrupt stack allocation.
Diffstat (limited to '')
-rw-r--r-- | c/src/exec/sapi/include/confdefs.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/c/src/exec/sapi/include/confdefs.h b/c/src/exec/sapi/include/confdefs.h index 94a7114a58..e31218ac0d 100644 --- a/c/src/exec/sapi/include/confdefs.h +++ b/c/src/exec/sapi/include/confdefs.h @@ -64,10 +64,14 @@ unsigned32 rtems_libio_number_iops = CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS; * Interrupt Stack Space */ -#if (CPU_ALLOCATE_INTERRUPT_STACK) -#define CONFIGURE_INTERRUPT_STACK_MEMORY RTEMS_MINIMUM_STACK_SIZE -#else +#if (CPU_ALLOCATE_INTERRUPT_STACK == 0) #define CONFIGURE_INTERRUPT_STACK_MEMORY 0 +#else + #ifndef CONFIGURE_INTERRUPT_STACK_MEMORY + #define CONFIGURE_INTERRUPT_STACK_MEMORY RTEMS_MINIMUM_STACK_SIZE + #else + #define CONFIGURE_INTERRUPT_STACK_MEMORY 0 + #endif #endif /* |