Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b2b27757 authored by David S. Miller's avatar David S. Miller
Browse files

[SPARC64]: Fix 'niu' complex IRQ probing.



They should be computed the same as how we compute
them under 'virtual-devices'.

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 1177bf97
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1046,7 +1046,8 @@ static void __init irq_trans_init(struct device_node *dp)
	if (!strcmp(dp->name, "fhc") &&
	    !strcmp(dp->parent->name, "central"))
		return central_irq_trans_init(dp);
	if (!strcmp(dp->name, "virtual-devices"))
	if (!strcmp(dp->name, "virtual-devices") ||
	    !strcmp(dp->name, "niu"))
		return sun4v_vdev_irq_trans_init(dp);
}