[PATCH] Fix pq2fads irq handling with PREEMPT_RT
Scott Wood
scottwood at freescale.com
Wed May 21 05:32:02 EST 2008
Rune Torgersen wrote:
> Fix interrupt threading issue on pq2fads when running with CONFIG_PREEMPT_RT
>
> Signed-off-by: Rune Torgersen <runet at innovsys.com>
>
> diff --git a/arch/powerpc/platforms/82xx/pq2ads-pci-pic.c b/arch/powerpc/platforms/82xx/pq2ads-pci-pic.c
> index a801381..9876d7e 100644
> --- a/arch/powerpc/platforms/82xx/pq2ads-pci-pic.c
> +++ b/arch/powerpc/platforms/82xx/pq2ads-pci-pic.c
> @@ -109,7 +109,7 @@ static int pci_pic_host_map(struct irq_host *h, unsigned int virq,
> {
> get_irq_desc(virq)->status |= IRQ_LEVEL;
> set_irq_chip_data(virq, h->host_data);
> - set_irq_chip(virq, &pq2ads_pci_ic);
> + set_irq_chip_and_handler(virq, &pq2ads_pci_ic, handle_level_irq);
> return 0;
> }
Acked-by: Scott Wood <scottwood at freescale.com>
-Scott
More information about the Linuxppc-dev
mailing list