Skip to content

Commit

Permalink
Merge tag 'irqchip-core-3.17' of git://git.infradead.org/users/jcoope…
Browse files Browse the repository at this point in the history
…r/linux into irq/core

irqchip core changes for v3.17
 * nvic: use generic noop function
 * spear_shirq: generic cleanup, simplification, and refactoring
  • Loading branch information
Thomas Gleixner committed Jun 27, 2014
2 parents 00ecd12 + 1b0a76c commit e8d471e
Show file tree
Hide file tree
Showing 3 changed files with 141 additions and 240 deletions.
13 changes: 4 additions & 9 deletions drivers/irqchip/irq-nvic.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,6 @@ nvic_handle_irq(irq_hw_number_t hwirq, struct pt_regs *regs)
handle_IRQ(irq, regs);
}

static void nvic_eoi(struct irq_data *d)
{
/*
* This is a no-op as end of interrupt is signaled by the exception
* return sequence.
*/
}

static int __init nvic_of_init(struct device_node *node,
struct device_node *parent)
{
Expand Down Expand Up @@ -102,7 +94,10 @@ static int __init nvic_of_init(struct device_node *node,
gc->chip_types[0].regs.disable = NVIC_ICER;
gc->chip_types[0].chip.irq_mask = irq_gc_mask_disable_reg;
gc->chip_types[0].chip.irq_unmask = irq_gc_unmask_enable_reg;
gc->chip_types[0].chip.irq_eoi = nvic_eoi;
/* This is a no-op as end of interrupt is signaled by the
* exception return sequence.
*/
gc->chip_types[0].chip.irq_eoi = irq_gc_noop;

/* disable interrupts */
writel_relaxed(~0, gc->reg_base + NVIC_ICER);
Expand Down
Loading

0 comments on commit e8d471e

Please sign in to comment.