projects
/
platform
/
upstream
/
linaro-glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2cc048
)
greg_t needs to have the same aligment as the kernel structure.
author
Andreas Jaeger
<aj@suse.de>
Thu, 31 May 2001 18:20:40 +0000
(18:20 +0000)
committer
Andreas Jaeger
<aj@suse.de>
Thu, 31 May 2001 18:20:40 +0000
(18:20 +0000)
sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h
patch
|
blob
|
history
diff --git
a/sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h
b/sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h
index
3e22d89
..
d1ae64c
100644
(file)
--- a/
sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h
+++ b/
sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h
@@
-39,7
+39,8
@@
typedef unsigned long greg_t;
that has the same size as s390_regs. */
#define NGREG 36
#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
{