Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 242532
b: refs/heads/master
c: 3972f69
h: refs/heads/master
v: v3
  • Loading branch information
Thomas Gleixner committed Mar 24, 2011
1 parent 694d30c commit cb88daa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 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: 7776e233ef32d9e8152dbb31328367c65288abcf
refs/heads/master: 3972f6917d05b4350c9b5ab2aaa623cd52fa4bc9
12 changes: 5 additions & 7 deletions trunk/arch/avr32/mach-at32ap/intc.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,21 +34,21 @@ extern struct platform_device at32_intc0_device;
* TODO: We may be able to implement mask/unmask by setting IxM flags
* in the status register.
*/
static void intc_mask_irq(unsigned int irq)
static void intc_mask_irq(struct irq_data *d)
{

}

static void intc_unmask_irq(unsigned int irq)
static void intc_unmask_irq(struct irq_data *d)
{

}

static struct intc intc0 = {
.chip = {
.name = "intc",
.mask = intc_mask_irq,
.unmask = intc_unmask_irq,
.irq_mask = intc_mask_irq,
.irq_unmask = intc_unmask_irq,
},
};

Expand All @@ -57,7 +57,6 @@ static struct intc intc0 = {
*/
asmlinkage void do_IRQ(int level, struct pt_regs *regs)
{
struct irq_desc *desc;
struct pt_regs *old_regs;
unsigned int irq;
unsigned long status_reg;
Expand All @@ -69,8 +68,7 @@ asmlinkage void do_IRQ(int level, struct pt_regs *regs)
irq_enter();

irq = intc_readl(&intc0, INTCAUSE0 - 4 * level);
desc = irq_desc + irq;
desc->handle_irq(irq, desc);
generic_handle_irq(irq);

/*
* Clear all interrupt level masks so that we may handle
Expand Down

0 comments on commit cb88daa

Please sign in to comment.