diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2017-11-16 14:54:04 +0100 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2017-11-20 08:51:01 +0100 |
commit | 3241d3eb7d9bb7a134bedf49db196cf98b58834d (patch) | |
tree | 3cff9d30519f530838e1ee5a2452908d4b508b62 /drivers/s390/crypto | |
parent | 38389ec84e835fa31a59b7dabb18343106a6d0d5 (diff) |
s390: rework __switch_to() to allow larger task_struct offsets
If GCC_PLUGIN_RANDSTRUCT is enabled the members of task_struct will be
shuffled around. The offsets of the "pid" and "stack" members within
task_struct may not necessarily fit into 12 bits anymore, which causes
compile errors within __switch_to, since instructions are used, which
only have a 12 bit displacement field.
Therefore rework __switch_to, to allow for larger offsets.
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/crypto')
0 files changed, 0 insertions, 0 deletions