Skip to content

Commit

Permalink
[SPARC64]: Fix 'niu' complex IRQ probing.
Browse files Browse the repository at this point in the history
They should be computed the same as how we compute
them under 'virtual-devices'.

Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
David S. Miller committed Oct 4, 2007
1 parent 1177bf9 commit b2b2775
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion arch/sparc64/kernel/prom.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit b2b2775

Please sign in to comment.