Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 106546
b: refs/heads/master
c: 56d3eef
h: refs/heads/master
v: v3
  • Loading branch information
Voss, Nikolaus authored and Haavard Skinnemoen committed Jul 25, 2008
1 parent 68d06bf commit c9161f8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 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: db6ea2c17cef531a58f48c51c3a0892edcaf1380
refs/heads/master: 56d3eef2b49b06618981c87edba16a607bf10ddd
6 changes: 5 additions & 1 deletion trunk/arch/avr32/kernel/time.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ static irqreturn_t timer_interrupt(int irq, void *dev_id)
{
struct clock_event_device *evdev = dev_id;

if (unlikely(!(intc_get_pending(0) & 1)))
return IRQ_NONE;

/*
* Disable the interrupt until the clockevent subsystem
* reprograms it.
Expand All @@ -55,7 +58,8 @@ static irqreturn_t timer_interrupt(int irq, void *dev_id)

static struct irqaction timer_irqaction = {
.handler = timer_interrupt,
.flags = IRQF_TIMER | IRQF_DISABLED,
/* Oprofile uses the same irq as the timer, so allow it to be shared */
.flags = IRQF_TIMER | IRQF_DISABLED | IRQF_SHARED,
.name = "avr32_comparator",
};

Expand Down

0 comments on commit c9161f8

Please sign in to comment.