Martin Schwidefsky f8b1350560 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>
2014-06-10 10:48:28 +02:00
..
2014-03-04 10:41:04 +01:00
2014-04-18 14:20:42 +02:00
2014-04-18 14:20:42 +02:00
2013-02-14 15:55:16 +01:00
2014-01-22 14:02:15 +01:00
2013-01-08 10:57:09 +01:00
2012-03-28 18:30:02 +01:00
2013-10-24 17:17:04 +02:00
2013-05-15 13:09:09 +02:00
2013-11-13 20:21:46 +01:00
2013-06-26 21:10:02 +02:00
2011-12-27 11:27:12 +01:00
2010-06-09 11:12:36 +02:00
2013-11-20 09:04:55 +01:00
2012-11-30 17:47:23 +01:00
2013-08-22 12:20:03 +02:00
2014-04-22 09:36:24 +02:00
2014-05-16 14:57:30 +02:00
2012-09-26 15:44:57 +02:00
2009-06-12 10:27:31 +02:00
2014-05-20 08:58:40 +02:00
2012-11-30 17:47:28 +01:00