diff options
author | Heiko Carstens <hca@linux.ibm.com> | 2023-09-11 21:40:01 +0200 |
---|---|---|
committer | Vasily Gorbik <gor@linux.ibm.com> | 2023-09-19 13:26:56 +0200 |
commit | 80725978260ff823e1c442e75d66cf1b61684bba (patch) | |
tree | 122f1afb7fdfdfc73eef30c143001037d13fd407 /arch/s390/kernel/smp.c | |
parent | s390/ctlreg: use local_ctl_load() and local_ctl_store() where possible (diff) | |
download | linux-80725978260ff823e1c442e75d66cf1b61684bba.tar.xz linux-80725978260ff823e1c442e75d66cf1b61684bba.zip |
s390/ctlreg: change parameters of __local_ctl_load() and __local_ctl_store()
Change __local_ctl_load() and __local_ctl_store(), so that control
register parameters come first.
This way all control handling functions consistently have control
register(s) parameter first.
Reviewed-by: Alexander Gordeev <agordeev@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'arch/s390/kernel/smp.c')
-rw-r--r-- | arch/s390/kernel/smp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/s390/kernel/smp.c b/arch/s390/kernel/smp.c index 1c65bbd411c7..90d3502379aa 100644 --- a/arch/s390/kernel/smp.c +++ b/arch/s390/kernel/smp.c @@ -922,11 +922,11 @@ int __cpu_disable(void) /* Disable pseudo page faults on this cpu. */ pfault_fini(); /* Disable interrupt sources via control register. */ - __local_ctl_store(cregs, 0, 15); + __local_ctl_store(0, 15, cregs); cregs[0] &= ~0x0000ee70UL; /* disable all external interrupts */ cregs[6] &= ~0xff000000UL; /* disable all I/O interrupts */ cregs[14] &= ~0x1f000000UL; /* disable most machine checks */ - __local_ctl_load(cregs, 0, 15); + __local_ctl_load(0, 15, cregs); clear_cpu_flag(CIF_NOHZ_DELAY); return 0; } |