Skip to content
  • Martin Schwidefsky's avatar
    [S390] Improve address space check. · 61365e13
    Martin Schwidefsky authored
    
    
    A data access in access-register mode always is a user mode access,
    the code to inspect the access-registers can be removed. The second
    change is to use a different test to check for no-execute fault.
    The third change is to pass the translation exception identification
    as parameter, in theory the trans_exc_code in the lowcore could have
    been overwritten by the time the call to check_space from do_no_context
    is done.
    
    Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
    61365e13