mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-23 11:20:07 +00:00
greg_t needs to have the same aligment as the kernel structure.
This commit is contained in:
parent
c2cc0483e4
commit
c0cf44fae5
@ -39,7 +39,8 @@ typedef unsigned long greg_t;
|
|||||||
that has the same size as s390_regs. */
|
that has the same size as s390_regs. */
|
||||||
#define NGREG 36
|
#define NGREG 36
|
||||||
#define NUM_FPRS 16
|
#define NUM_FPRS 16
|
||||||
typedef greg_t gregset_t[NGREG];
|
/* Must match kernels psw_t alignment */
|
||||||
|
typedef greg_t gregset_t[NGREG] __attribute__ ((aligned(8)));
|
||||||
|
|
||||||
typedef union
|
typedef union
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user