2007-06-11 Ralf Corsépius <ralf.corsepius@rtems.org>

* configure.ac: Remove "pad" from CPU_CONTEXT.
This commit is contained in:
Ralf Corsepius
2007-06-11 08:00:07 +00:00
parent c1a886be7b
commit 83e628a07a
2 changed files with 4 additions and 3 deletions

View File

@@ -1,3 +1,7 @@
2007-06-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Remove "pad" from CPU_CONTEXT.
2007-06-05 Joel Sherrill <joel.sherrill@OARcorp.com>
* score/src/coremsg.c: Formatting.

View File

@@ -120,8 +120,6 @@ AS_IF([test "$HAS_MP" = "yes"],
[RTEMS_CHECK_SYSV_UNIX])
## The code fragment below had been used in tools/cpu/unix/gensize.c.
## FIXME:
## * The pad very likely is not necessary.
AC_CHECK_SIZEOF([CPU_CONTEXT],[],[
#include <stdio.h>
#include <setjmp.h>
@@ -129,7 +127,6 @@ AC_CHECK_SIZEOF([CPU_CONTEXT],[],[
typedef struct {
jmp_buf regs;
int isr_level;
int pad[4]; /* just in case */
} CPU_CONTEXT;
])
])