Commit 70584578 authored by Sonny Rao's avatar Sonny Rao Committed by Paul Mackerras
Browse files

[POWERPC] Check for NULL ppc_md.init_IRQ() before calling



Check to make sure ppc_md.init_IRQ has been set before calling it.

Signed-off-by: default avatarSonny Rao <sonny@burdell.org>
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent b3e998ee
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -336,6 +336,7 @@ void do_IRQ(struct pt_regs *regs)

void __init init_IRQ(void)
{
	if (ppc_md.init_IRQ)
		ppc_md.init_IRQ();
#ifdef CONFIG_PPC64
	irq_ctx_init();