Commit 3f7d3075 authored by Yoichi Yuasa's avatar Yoichi Yuasa Committed by Linus Torvalds

[PATCH] mips: fixed initialization error

This change had fixed initialization error in arch/mips/vr41xx/common/icu.c
Signed-off-by: default avatarYoichi Yuasa <yuasa@hh.iij4u.or.jp>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 67eea496
...@@ -51,6 +51,12 @@ extern void giuint_irq_dispatch(struct pt_regs *regs); ...@@ -51,6 +51,12 @@ extern void giuint_irq_dispatch(struct pt_regs *regs);
static uint32_t icu1_base; static uint32_t icu1_base;
static uint32_t icu2_base; static uint32_t icu2_base;
static struct irqaction icu_cascade = {
.handler = no_action,
.mask = CPU_MASK_NONE,
.name = "cascade",
};
static unsigned char sysint1_assign[16] = { static unsigned char sysint1_assign[16] = {
0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }; 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
static unsigned char sysint2_assign[16] = { static unsigned char sysint2_assign[16] = {
...@@ -674,8 +680,6 @@ early_initcall(vr41xx_icu_init); ...@@ -674,8 +680,6 @@ early_initcall(vr41xx_icu_init);
/*=======================================================================*/ /*=======================================================================*/
static struct irqaction icu_cascade = {no_action, 0, 0, "cascade", NULL, NULL};
static inline void init_vr41xx_icu_irq(void) static inline void init_vr41xx_icu_irq(void)
{ {
int i; int i;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment