• Heiko Carstens's avatar
    s390/acrs: cleanup access register handling · 30410373
    Heiko Carstens authored
    save_access_regs() and restore_access_regs() are only available by
    including switch_to.h. This is done by a couple of C files, which have
    nothing to do with switch_to(), but only need these functions.
    
    Move both functions to a new header file and improve the implementation:
    
    - Get rid of typedef
    
    - Add memory access instrumentation support
    
    - Use long displacement instructions lamy/stamy instead of lam/stam - all
      current users end up with better code because of this
    Reviewed-by: default avatarAlexander Gordeev <agordeev@linux.ibm.com>
    Signed-off-by: default avatarHeiko Carstens <hca@linux.ibm.com>
    30410373
signal.c 15.3 KB