diff options
author | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2014-06-11 16:06:12 +0200 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2014-06-16 10:31:40 +0200 |
commit | b9c9a33b765b0dd9279a99fcbb63f54950655e77 (patch) | |
tree | 51db83b7f63c1f230fa35ee0f0eac4c92f69d973 /drivers/s390/net/lcs.h | |
parent | s390/cio: set device name as early as possible (diff) | |
download | linux-b9c9a33b765b0dd9279a99fcbb63f54950655e77.tar.xz linux-b9c9a33b765b0dd9279a99fcbb63f54950655e77.zip |
s390/compat: correct ucontext layout for high gprs
The uc_sigmask definition in the kernel differs from the one in the
glibc, the kernel uc_sigmask has 64 bits while the glibc verison
is 1024 bits. The extension of the ucontext structure for 64-bit
register support for 31-bit compat processes added a new field
uc_gprs_high which starts 8 bytes after the uc_sigmask field.
As the glibc view of the ucontext assumes a size of 128 bytes for
uc_sigmask add a 120 byte padding to the kernel structure
ucontext_extended after the 8 byte uc_sigmask.
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/net/lcs.h')
0 files changed, 0 insertions, 0 deletions