[S390] missing sacf in uaccess
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 31 Jan 2011 10:30:05 +0000 (11:30 +0100)
committerMartin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com>
Mon, 31 Jan 2011 10:30:20 +0000 (11:30 +0100)
commite4d82692f4513ccf78de548b8ecea58adf03fa9a
tree37651011ab7bdac1de1e5e0fa65d1e6898beb68e
parentf1be77bb21120b5306b56d6854db1f8eb5c3678b
[S390] missing sacf in uaccess

The uaccess functions copy_in_user_std and clear_user_std fail to
switch back from secondary space mode to primary space mode with sacf
in case of an unresolvable page fault. We need to make sure that the
switch back to primary mode is done in all cases, otherwise the code
following the uaccess inline assembly will crash.

Reported-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/lib/uaccess_std.c