Commit b38085ba authored by Sven Schnelle's avatar Sven Schnelle Committed by Peter Zijlstra
Browse files

s390: Use arch_local_irq_{save,restore}() in early boot code



Commit 997acaf6 ("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: 997acaf6 ("lockdep: report broken irq restoration")
Signed-off-by: default avatarSven Schnelle <svens@linux.ibm.com>
Signed-off-by: default avatarPeter Zijlstra (Intel) <peterz@infradead.org>
parent c8cc7e85
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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;
}