aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/powerpc/platforms/cell/spider-pic.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/powerpc/platforms/cell/spider-pic.c b/arch/powerpc/platforms/cell/spider-pic.c
index 608b1ebc56b2..6794de0cc0f0 100644
--- a/arch/powerpc/platforms/cell/spider-pic.c
+++ b/arch/powerpc/platforms/cell/spider-pic.c
@@ -244,7 +244,6 @@ static unsigned int __init spider_find_cascade_and_node(struct spider_pic *pic)
244 int imaplen, intsize, unit; 244 int imaplen, intsize, unit;
245 struct device_node *iic; 245 struct device_node *iic;
246 246
247#if 0 /* Enable that when we have a way to retreive the node as well */
248 /* First, we check wether we have a real "interrupts" in the device 247 /* First, we check wether we have a real "interrupts" in the device
249 * tree in case the device-tree is ever fixed 248 * tree in case the device-tree is ever fixed
250 */ 249 */
@@ -252,9 +251,8 @@ static unsigned int __init spider_find_cascade_and_node(struct spider_pic *pic)
252 if (of_irq_map_one(pic->of_node, 0, &oirq) == 0) { 251 if (of_irq_map_one(pic->of_node, 0, &oirq) == 0) {
253 virq = irq_create_of_mapping(oirq.controller, oirq.specifier, 252 virq = irq_create_of_mapping(oirq.controller, oirq.specifier,
254 oirq.size); 253 oirq.size);
255 goto bail; 254 return virq;
256 } 255 }
257#endif
258 256
259 /* Now do the horrible hacks */ 257 /* Now do the horrible hacks */
260 tmp = get_property(pic->of_node, "#interrupt-cells", NULL); 258 tmp = get_property(pic->of_node, "#interrupt-cells", NULL);