Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 243331
b: refs/heads/master
c: e2f571d
h: refs/heads/master
i:
  243329: 44ef2a2
  243327: 2b791a9
v: v3
  • Loading branch information
Thomas Gleixner committed Mar 29, 2011
1 parent 413d33b commit ec56a34
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 11 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 337ce6811bfe474cc449de1f95d2c4f26641f5af
refs/heads/master: e2f571d294cc5f944539088bed46abae375b75f6
12 changes: 6 additions & 6 deletions trunk/arch/parisc/kernel/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -235,13 +235,13 @@ int cpu_claim_irq(unsigned int irq, struct irq_chip *type, void *data)
{
if (irq_desc[irq].action)
return -EBUSY;
if (get_irq_chip(irq) != &cpu_interrupt_type)
if (irq_get_chip(irq) != &cpu_interrupt_type)
return -EBUSY;

/* for iosapic interrupts */
if (type) {
set_irq_chip_and_handler(irq, type, handle_percpu_irq);
set_irq_chip_data(irq, data);
irq_set_chip_and_handler(irq, type, handle_percpu_irq);
irq_set_chip_data(irq, data);
__cpu_unmask_irq(irq);
}
return 0;
Expand Down Expand Up @@ -393,14 +393,14 @@ static void claim_cpu_irqs(void)
{
int i;
for (i = CPU_IRQ_BASE; i <= CPU_IRQ_MAX; i++) {
set_irq_chip_and_handler(i, &cpu_interrupt_type,
irq_set_chip_and_handler(i, &cpu_interrupt_type,
handle_percpu_irq);
}

set_irq_handler(TIMER_IRQ, handle_percpu_irq);
irq_set_handler(TIMER_IRQ, handle_percpu_irq);
setup_irq(TIMER_IRQ, &timer_action);
#ifdef CONFIG_SMP
set_irq_handler(IPI_IRQ, handle_percpu_irq);
irq_set_handler(IPI_IRQ, handle_percpu_irq);
setup_irq(IPI_IRQ, &ipi_action);
#endif
}
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/parisc/eisa.c
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ static int __init eisa_probe(struct parisc_device *dev)
/* Reserve IRQ2 */
setup_irq(2, &irq2_action);
for (i = 0; i < 16; i++) {
set_irq_chip_and_handler(i, &eisa_interrupt_type,
irq_set_chip_and_handler(i, &eisa_interrupt_type,
handle_simple_irq);
}

Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/parisc/gsc.c
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,8 @@ int gsc_assign_irq(struct irq_chip *type, void *data)
if (irq > GSC_IRQ_MAX)
return NO_IRQ;

set_irq_chip_and_handler(irq, type, handle_simple_irq);
set_irq_chip_data(irq, data);
irq_set_chip_and_handler(irq, type, handle_simple_irq);
irq_set_chip_data(irq, data);

return irq++;
}
Expand Down
3 changes: 2 additions & 1 deletion trunk/drivers/parisc/superio.c
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,8 @@ int superio_fixup_irq(struct pci_dev *pcidev)
#endif

for (i = 0; i < 16; i++) {
set_irq_chip_and_handler(i, &superio_interrupt_type, handle_simple_irq);
irq_set_chip_and_handler(i, &superio_interrupt_type,
handle_simple_irq);
}

/*
Expand Down

0 comments on commit ec56a34

Please sign in to comment.