interrupt.c (b27df67248d3ae61d7814f18e363954254935090) interrupt.c (40d50cf7ca956183f3a573bc21082e1c7d04fa7b)
1/*
2 * Cell Internal Interrupt Controller
3 *
4 * Copyright (C) 2006 Benjamin Herrenschmidt (benh@kernel.crashing.org)
5 * IBM, Corp.
6 *
7 * (C) Copyright IBM Deutschland Entwicklung GmbH 2005
8 *

--- 283 unchanged lines hidden (view full) ---

292 break;
293 default:
294 set_irq_chip_and_handler(virq, &iic_chip, handle_iic_irq);
295 }
296 return 0;
297}
298
299static int iic_host_xlate(struct irq_host *h, struct device_node *ct,
1/*
2 * Cell Internal Interrupt Controller
3 *
4 * Copyright (C) 2006 Benjamin Herrenschmidt (benh@kernel.crashing.org)
5 * IBM, Corp.
6 *
7 * (C) Copyright IBM Deutschland Entwicklung GmbH 2005
8 *

--- 283 unchanged lines hidden (view full) ---

292 break;
293 default:
294 set_irq_chip_and_handler(virq, &iic_chip, handle_iic_irq);
295 }
296 return 0;
297}
298
299static int iic_host_xlate(struct irq_host *h, struct device_node *ct,
300 u32 *intspec, unsigned int intsize,
300 const u32 *intspec, unsigned int intsize,
301 irq_hw_number_t *out_hwirq, unsigned int *out_flags)
302
303{
304 unsigned int node, ext, unit, class;
305 const u32 *val;
306
307 if (!of_device_is_compatible(ct,
308 "IBM,CBEA-Internal-Interrupt-Controller"))

--- 154 unchanged lines hidden ---
301 irq_hw_number_t *out_hwirq, unsigned int *out_flags)
302
303{
304 unsigned int node, ext, unit, class;
305 const u32 *val;
306
307 if (!of_device_is_compatible(ct,
308 "IBM,CBEA-Internal-Interrupt-Controller"))

--- 154 unchanged lines hidden ---