Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 212187
b: refs/heads/master
c: 61a38ce
h: refs/heads/master
i:
  212185: 7de8fe6
  212183: fce3de0
v: v3
  • Loading branch information
Thomas Gleixner committed Oct 12, 2010
1 parent ea3c596 commit 0a3bb3d
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: dd5f15e5cf104c9170b76ae3274f35b42a3e4161
refs/heads/master: 61a38ce3f59cdb4654e9444329195bd57c3baf74
12 changes: 5 additions & 7 deletions trunk/arch/x86/kernel/apic/io_apic.c
Original file line number Diff line number Diff line change
Expand Up @@ -2218,20 +2218,18 @@ static int __init timer_irq_works(void)
* an edge even if it isn't on the 8259A...
*/

static unsigned int startup_ioapic_irq(unsigned int irq)
static unsigned int startup_ioapic_irq(struct irq_data *data)
{
int was_pending = 0;
int was_pending = 0, irq = data->irq;
unsigned long flags;
struct irq_cfg *cfg;

raw_spin_lock_irqsave(&ioapic_lock, flags);
if (irq < legacy_pic->nr_legacy_irqs) {
legacy_pic->mask(irq);
if (legacy_pic->irq_pending(irq))
was_pending = 1;
}
cfg = irq_cfg(irq);
__unmask_ioapic(cfg);
__unmask_ioapic(data->chip_data);
raw_spin_unlock_irqrestore(&ioapic_lock, flags);

return was_pending;
Expand Down Expand Up @@ -2695,7 +2693,7 @@ static void ir_ack_apic_level(unsigned int irq)

static struct irq_chip ioapic_chip __read_mostly = {
.name = "IO-APIC",
.startup = startup_ioapic_irq,
.irq_startup = startup_ioapic_irq,
.mask = mask_ioapic_irq,
.unmask = unmask_ioapic_irq,
.ack = ack_apic_edge,
Expand All @@ -2708,7 +2706,7 @@ static struct irq_chip ioapic_chip __read_mostly = {

static struct irq_chip ir_ioapic_chip __read_mostly = {
.name = "IR-IO-APIC",
.startup = startup_ioapic_irq,
.irq_startup = startup_ioapic_irq,
.mask = mask_ioapic_irq,
.unmask = unmask_ioapic_irq,
#ifdef CONFIG_INTR_REMAP
Expand Down

0 comments on commit 0a3bb3d

Please sign in to comment.