diff options
-rw-r--r-- | cpukit/score/cpu/powerpc/rtems/score/cpu.h | 16 | ||||
-rw-r--r-- | testsuites/sptests/spsize/size.c | 3 |
2 files changed, 1 insertions, 18 deletions
diff --git a/cpukit/score/cpu/powerpc/rtems/score/cpu.h b/cpukit/score/cpu/powerpc/rtems/score/cpu.h index 2d3f05fe70..e53cfbc7cc 100644 --- a/cpukit/score/cpu/powerpc/rtems/score/cpu.h +++ b/cpukit/score/cpu/powerpc/rtems/score/cpu.h @@ -582,22 +582,6 @@ typedef struct CPU_Interrupt_frame { #define CPU_MODES_INTERRUPT_MASK 0x00000001 /* interrupt level in mode */ /* - * Nothing prevents the porter from declaring more CPU specific variables. - */ - -#ifndef ASM - -SCORE_EXTERN struct { - uint32_t *Disable_level; - void *Stack; - volatile bool *Switch_necessary; - bool *Signal; - -} _CPU_IRQ_info CPU_STRUCTURE_ALIGNMENT; - -#endif /* ndef ASM */ - -/* * The size of the floating point context area. On some CPUs this * will not be a "sizeof" because the format of the floating point * area is not defined -- only the size is. This is usually on diff --git a/testsuites/sptests/spsize/size.c b/testsuites/sptests/spsize/size.c index 9e4823e1b1..c68199d81d 100644 --- a/testsuites/sptests/spsize/size.c +++ b/testsuites/sptests/spsize/size.c @@ -455,8 +455,7 @@ uninitialized += (sizeof _CPU_Null_fp_context) + /* cpu.h */ uninitialized += (sizeof _CPU_Interrupt_stack_low) + - (sizeof _CPU_Interrupt_stack_high) + - (sizeof _CPU_IRQ_info); + (sizeof _CPU_Interrupt_stack_high); #endif #endif /* !unix */ |