From: David S. Miller Date: Thu, 4 Oct 2007 22:03:35 +0000 (-0700) Subject: [SPARC64]: Fix 'niu' complex IRQ probing. X-Git-Tag: upstream/snapshot3+hdmi~31054^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b2b27757b6f0e88e30f10c431c763523dd7858ca;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git [SPARC64]: Fix 'niu' complex IRQ probing. They should be computed the same as how we compute them under 'virtual-devices'. Signed-off-by: David S. Miller --- diff --git a/arch/sparc64/kernel/prom.c b/arch/sparc64/kernel/prom.c index 0614dff..a246e96 100644 --- a/arch/sparc64/kernel/prom.c +++ b/arch/sparc64/kernel/prom.c @@ -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); }