summaryrefslogtreecommitdiff
path: root/arch/s390/kernel/ctlreg.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/s390/kernel/ctlreg.c')
-rw-r--r--arch/s390/kernel/ctlreg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/s390/kernel/ctlreg.c b/arch/s390/kernel/ctlreg.c
index 795e7f4861fb..1c9fee1ca4a3 100644
--- a/arch/s390/kernel/ctlreg.c
+++ b/arch/s390/kernel/ctlreg.c
@@ -38,10 +38,10 @@ static void ctl_bit_callback(void *info)
struct ctl_bit_parms *pp = info;
unsigned long regs[16];
- __local_ctl_store(regs, 0, 15);
+ __local_ctl_store(0, 15, regs);
regs[pp->cr] &= pp->andval;
regs[pp->cr] |= pp->orval;
- __local_ctl_load(regs, 0, 15);
+ __local_ctl_load(0, 15, regs);
}
void system_ctl_set_clear_bit(unsigned int cr, unsigned int bit, bool set)