diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2007-10-16 10:26:38 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-16 18:43:04 +0200 |
commit | e5f717812982c7b2a20d5f2d897f7cce6db9c5e6 (patch) | |
tree | 2eb8bf2ea24c591bcac2e588f8bca654561514d6 /arch/cris/arch-v32/kernel | |
parent | m32r: convert to generic sys_ptrace (diff) | |
download | linux-e5f717812982c7b2a20d5f2d897f7cce6db9c5e6.tar.xz linux-e5f717812982c7b2a20d5f2d897f7cce6db9c5e6.zip |
CRIS: cleanup struct irqaction initializers
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Mikael Starvik <starvik@axis.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/cris/arch-v32/kernel')
-rw-r--r-- | arch/cris/arch-v32/kernel/smp.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/arch/cris/arch-v32/kernel/smp.c b/arch/cris/arch-v32/kernel/smp.c index 77e655f26560..697494bc2de1 100644 --- a/arch/cris/arch-v32/kernel/smp.c +++ b/arch/cris/arch-v32/kernel/smp.c @@ -63,8 +63,12 @@ static unsigned long irq_regs[NR_CPUS] = static irqreturn_t crisv32_ipi_interrupt(int irq, void *dev_id, struct pt_regs *regs); static int send_ipi(int vector, int wait, cpumask_t cpu_mask); -static struct irqaction irq_ipi = { crisv32_ipi_interrupt, IRQF_DISABLED, - CPU_MASK_NONE, "ipi", NULL, NULL}; +static struct irqaction irq_ipi = { + .handler = crisv32_ipi_interrupt, + .flags = IRQF_DISABLED, + .mask = CPU_MASK_NONE, + .name = "ipi", +}; extern void cris_mmu_init(void); extern void cris_timer_init(void); |