aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/kernel/dis.c
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2017-11-16 14:54:04 +0100
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2017-11-20 08:51:01 +0100
commit3241d3eb7d9bb7a134bedf49db196cf98b58834d (patch)
tree3cff9d30519f530838e1ee5a2452908d4b508b62 /arch/s390/kernel/dis.c
parents390/topology: fix compile error in file arch/s390/kernel/smp.c (diff)
downloadlinux-dev-3241d3eb7d9bb7a134bedf49db196cf98b58834d.tar.xz
linux-dev-3241d3eb7d9bb7a134bedf49db196cf98b58834d.zip
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 '')
0 files changed, 0 insertions, 0 deletions