Rev 3890 | Rev 4132 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 3890 | Rev 3906 | ||
|---|---|---|---|
| Line 171... | Line 171... | ||
| 171 | if (irq->preack) { |
171 | if (irq->preack) { |
| 172 | /* Send EOI before processing the interrupt */ |
172 | /* Send EOI before processing the interrupt */ |
| 173 | trap_virtual_eoi(); |
173 | trap_virtual_eoi(); |
| 174 | ack = true; |
174 | ack = true; |
| 175 | } |
175 | } |
| 176 | irq->handler(irq, irq->arg); |
176 | irq->handler(irq); |
| 177 | spinlock_unlock(&irq->lock); |
177 | spinlock_unlock(&irq->lock); |
| 178 | } else { |
178 | } else { |
| 179 | /* |
179 | /* |
| 180 | * Spurious interrupt. |
180 | * Spurious interrupt. |
| 181 | */ |
181 | */ |