Skip to contentSkip to conversation

Fix pq2fads irq handling with PREEMPT_RT

PATCH Applied Rune Torgersen 3 participants 3 messages May 20, 2008 – Jul 1, 2008 PowerPC

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix pq2fads irq handling with PREEMPT_RT

Fix interrupt threading issue on pq2fads when running with CONFIG_PREEMPT_RT

arch/powerpc/platforms/82xx/pq2ads-pci-pic.c +1 -1
index a801381..9876d7e 100644
@@ -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 on v1 1/1
#1 lore raw
Quoted 9 lines · Rune Torgersen

Fix interrupt threading issue on pq2fads when running with CONFIG_PREEMPT_RT

arch/powerpc/platforms/82xx/pq2ads-pci-pic.c +0 -0
index a801381..9876d7e 100644

arch/powerpc/platforms/82xx/pq2ads-pci-pic.c static int pci_pic_host_map(struct irq_host *h, unsigned int virq, · line 114

Quoted 7 lines
arch/powerpc/platforms/82xx/pq2ads-pci-pic.c +1 -1
@@ -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;
 }

-Scott