summaryrefslogtreecommitdiffstats
path: root/virt/kvm
diff options
context:
space:
mode:
authorMartin Schwidefsky <schwidefsky@de.ibm.com>2014-06-02 14:53:57 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2014-06-10 10:48:28 +0200
commitf8b13505607823bb9a212eb9410669ecf2bc2615 (patch)
treef7f02832e582cda3afa8ef9aabc3145b25620f94 /virt/kvm
parentc1a42f49b20e9498c7abd47c01b04c6312af13c4 (diff)
downloadop-kernel-dev-f8b13505607823bb9a212eb9410669ecf2bc2615.zip
op-kernel-dev-f8b13505607823bb9a212eb9410669ecf2bc2615.tar.gz
s390/uaccess: always load the kernel ASCE after task switch
This patch fixes a problem introduced with git commit beef560b4cdfafb2 "s390/uaccess: simplify control register updates". The switch_mm function is not called if the next process is a kernel thread without an attached mm or is a nop if the mm does not change. But CR1 still needs to be loaded with the kernel ASCE in case the code returns to a uaccess function that uses the secondary space mode. In addition move the set_fs call from finish_arch_switch to finish_arch_post_lock_switch and then remove finish_arch_switch. Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'virt/kvm')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud