s390: Use arch_local_irq_{save,restore}() in early boot code
Commit997acaf6b4
("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:997acaf6b4
("lockdep: report broken irq restoration") Signed-off-by: Sven Schnelle <svens@linux.ibm.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
This commit is contained in:
parent
c8cc7e8531
commit
b38085ba60
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user