[POWERPC] Fix CHRP platforms with only 8259
On CHRP platforms with only a 8259 controller, we should set the default IRQ host to the 8259 driver's one for the IRQ probing fallbacks to work in case the IRQ tree is incorrect (like on Pegasos for example). Without this fix, we get a bunch of WARN_ON's during boot. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:

committed by
Paul Mackerras

parent
f49196a5f5
commit
f4d4c354bc
@@ -224,6 +224,11 @@ static struct irq_host_ops i8259_host_ops = {
|
||||
.xlate = i8259_host_xlate,
|
||||
};
|
||||
|
||||
struct irq_host *i8259_get_host(void)
|
||||
{
|
||||
return i8259_host;
|
||||
}
|
||||
|
||||
/**
|
||||
* i8259_init - Initialize the legacy controller
|
||||
* @node: device node of the legacy PIC (can be NULL, but then, it will match
|
||||
|
Reference in New Issue
Block a user