]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
s390: Use arch_local_irq_{save,restore}() in early boot code
authorSven Schnelle <svens@linux.ibm.com>
Wed, 10 Feb 2021 13:24:16 +0000 (14:24 +0100)
committerPeter Zijlstra <peterz@infradead.org>
Wed, 10 Feb 2021 13:44:39 +0000 (14:44 +0100)
Commit 997acaf6b4b5 ("lockdep: report broken irq restoration") makes
compiling s390 fail because the irq enable/disable functions are now
no longer fully contained in header files.

Fixes: 997acaf6b4b5 ("lockdep: report broken irq restoration")
Signed-off-by: Sven Schnelle <svens@linux.ibm.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
drivers/s390/char/sclp_early_core.c

index ec9f8ad5341c5b8af0b465f95ea897add5e6061d..b7329af076a0f04c235afb80577a5067ac7e40ae 100644 (file)
@@ -66,13 +66,13 @@ int sclp_early_cmd(sclp_cmdw_t cmd, void *sccb)
        unsigned long flags;
        int rc;
 
-       raw_local_irq_save(flags);
+       flags = arch_local_irq_save();
        rc = sclp_service_call(cmd, sccb);
        if (rc)
                goto out;
        sclp_early_wait_irq();
 out:
-       raw_local_irq_restore(flags);
+       arch_local_irq_restore(flags);
        return rc;
 }