Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 63459
b: refs/heads/master
c: 033890b
h: refs/heads/master
i:
  63457: d7bb4ae
  63455: 9e23bfe
v: v3
  • Loading branch information
Ralf Baechle committed Jul 31, 2007
1 parent 0cec838 commit 678875d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 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: 004561d3af67065215b9ddef22048c4d05467fb2
refs/heads/master: 033890b084adfa367c544864451d7730552ce8bf
12 changes: 6 additions & 6 deletions trunk/arch/mips/kernel/smtc.c
Original file line number Diff line number Diff line change
Expand Up @@ -975,7 +975,12 @@ static void ipi_irq_dispatch(void)
do_IRQ(cpu_ipi_irq);
}

static struct irqaction irq_ipi;
static struct irqaction irq_ipi = {
.handler = ipi_interrupt,
.flags = IRQF_DISABLED,
.name = "SMTC_IPI",
.flags = IRQF_PERCPU
};

static void setup_cross_vpe_interrupts(unsigned int nvpe)
{
Expand All @@ -987,13 +992,8 @@ static void setup_cross_vpe_interrupts(unsigned int nvpe)

set_vi_handler(MIPS_CPU_IPI_IRQ, ipi_irq_dispatch);

irq_ipi.handler = ipi_interrupt;
irq_ipi.flags = IRQF_DISABLED;
irq_ipi.name = "SMTC_IPI";

setup_irq_smtc(cpu_ipi_irq, &irq_ipi, (0x100 << MIPS_CPU_IPI_IRQ));

irq_desc[cpu_ipi_irq].status |= IRQ_PER_CPU;
set_irq_handler(cpu_ipi_irq, handle_percpu_irq);
}

Expand Down

0 comments on commit 678875d

Please sign in to comment.