diff options
author | Heiko Carstens <hca@linux.ibm.com> | 2024-10-22 14:05:59 +0200 |
---|---|---|
committer | Heiko Carstens <hca@linux.ibm.com> | 2024-10-29 11:49:19 +0100 |
commit | f76901d16008862035265037905fd84364c3d0ac (patch) | |
tree | 36193d42a4708ebbcb9a61c4a5dbf56c4b449198 /scripts/lib/kdoc/kdoc_files.py | |
parent | e8d8d97218190d9cb7ddd6cb50205570d2e5b295 (diff) |
s390/mm: Simplify get_fault_type()
With the gmap code gone get_fault_type() can be simplified:
- every fault with user_mode(regs) == true must be a fault in user address
space
- every fault with user_mode(regs) == false is only a fault in user
address space if the used address space is the secondary address space
- every other fault is within the kernel address space
Reviewed-by: Alexander Gordeev <agordeev@linux.ibm.com>
Link: https://lore.kernel.org/r/20241022120601.167009-10-imbrenda@linux.ibm.com
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions