Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 235202
b: refs/heads/master
c: 6c3564d
h: refs/heads/master
v: v3
  • Loading branch information
Thomas Gleixner authored and Michal Simek committed Mar 9, 2011
1 parent ee3110b commit 3969e57
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 14 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: 2cfedb97d6b3001d58c785839a8bc402374fe9f8
refs/heads/master: 6c3564d3f6a12b835ca95630927503a6ace94762
13 changes: 0 additions & 13 deletions trunk/arch/microblaze/kernel/intc.c
Original file line number Diff line number Diff line change
Expand Up @@ -74,25 +74,12 @@ static void intc_mask_ack(unsigned int irq)
out_be32(INTC_BASE + IAR, mask);
}

static void intc_end(unsigned int irq)
{
unsigned long mask = 1 << irq;
pr_debug("end: %d\n", irq);
if (!(irq_desc[irq].status & (IRQ_DISABLED | IRQ_INPROGRESS))) {
out_be32(INTC_BASE + SIE, mask);
/* ack level sensitive intr */
if (irq_desc[irq].status & IRQ_LEVEL)
out_be32(INTC_BASE + IAR, mask);
}
}

static struct irq_chip intc_dev = {
.name = "Xilinx INTC",
.unmask = intc_enable_or_unmask,
.mask = intc_disable_or_mask,
.ack = intc_ack,
.mask_ack = intc_mask_ack,
.end = intc_end,
};

unsigned int get_irq(struct pt_regs *regs)
Expand Down

0 comments on commit 3969e57

Please sign in to comment.