]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit30155d9e1f6276114be0c981b3e87d42c7d9760e
tree37651011ab7bdac1de1e5e0fa65d1e6898beb68e
parentcdb938ce5fc68937a4ced51a18f49b80abca4925
[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