mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-19 18:24:14 +08:00
s390/sclp: _sclp_wait_int(): retain full PSW mask
There's no reason to clear all PSW mask bits other than the addressing mode bits. Just use the previous PSW mask as-is. Signed-off-by: Sascha Silbe <silbe@linux.vnet.ibm.com> Acked-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
This commit is contained in:
parent
121a868d05
commit
f07f21b3e2
@ -21,7 +21,7 @@ static void _sclp_wait_int(void)
|
|||||||
__ctl_load(cr0_new, 0, 0);
|
__ctl_load(cr0_new, 0, 0);
|
||||||
|
|
||||||
psw_ext_save = S390_lowcore.external_new_psw;
|
psw_ext_save = S390_lowcore.external_new_psw;
|
||||||
psw_mask = __extract_psw() & (PSW_MASK_EA | PSW_MASK_BA);
|
psw_mask = __extract_psw();
|
||||||
S390_lowcore.external_new_psw.mask = psw_mask;
|
S390_lowcore.external_new_psw.mask = psw_mask;
|
||||||
psw_wait.mask = psw_mask | PSW_MASK_EXT | PSW_MASK_WAIT;
|
psw_wait.mask = psw_mask | PSW_MASK_EXT | PSW_MASK_WAIT;
|
||||||
S390_lowcore.ext_int_code = 0;
|
S390_lowcore.ext_int_code = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user