diff options
author | Gerald Schaefer <gerald.schaefer@de.ibm.com> | 2019-05-27 18:40:19 +0200 |
---|---|---|
committer | Heiko Carstens <heiko.carstens@de.ibm.com> | 2019-06-05 16:04:16 +0200 |
commit | 962f0af83c239c0aef05639631e871c874b00f99 (patch) | |
tree | aad4f4fc66b4c8705e9501a9e0100174678b552d /Documentation/ia64/IRQ-redir.txt | |
parent | f2c7c76c5d0a443053e94adb9f0918fa2fb85c3a (diff) | |
download | linux-962f0af83c239c0aef05639631e871c874b00f99.tar.bz2 |
s390/mm: fix address space detection in exception handling
Commit 0aaba41b58bc ("s390: remove all code using the access register
mode") removed access register mode from the kernel, and also from the
address space detection logic. However, user space could still switch
to access register mode (trans_exc_code == 1), and exceptions in that
mode would not be correctly assigned.
Fix this by adding a check for trans_exc_code == 1 to get_fault_type(),
and remove the wrong comment line before that function.
Fixes: 0aaba41b58bc ("s390: remove all code using the access register mode")
Reviewed-by: Janosch Frank <frankja@linux.ibm.com>
Reviewed-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: <stable@vger.kernel.org> # v4.15+
Signed-off-by: Gerald Schaefer <gerald.schaefer@de.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Diffstat (limited to 'Documentation/ia64/IRQ-redir.txt')
0 files changed, 0 insertions, 0 deletions