Since a lot of code starts new CPUs using the current PSW mask, add two macros to streamline the creation of generic PSWs and PSWs with the current program mask. Update the existing code to use the newly introduced macros. v2->v3 * rename PSW_CUR_MASK to PSW_WITH_CUR_MASK Claudio Imbrenda (2): lib: s390x: add PSW and PSW_WITH_CUR_MASK macros s390x: use the new PSW and PSW_WITH_CUR_MASK macros lib/s390x/asm/arch_def.h | 4 +++ s390x/adtl-status.c | 24 +++--------------- s390x/firq.c | 5 +--- s390x/migration.c | 6 +---- s390x/skrf.c | 7 +----- s390x/smp.c | 53 +++++++++------------------------------- s390x/uv-host.c | 5 +--- 7 files changed, 23 insertions(+), 81 deletions(-) -- 2.38.1