2004-09-17 16:42:00

by Yoichi Yuasa

[permalink] [raw]
Subject: [PATCH] mips: fixed initialization error

This change had fixed initialization error in arch/mips/vr41xx/common/icu.c

Signed-off-by: Yoichi Yuasa <[email protected]>

diff -urN -X dontdiff vr-orig/arch/mips/vr41xx/common/icu.c vr/arch/mips/vr41xx/common/icu.c
--- vr-orig/arch/mips/vr41xx/common/icu.c 2004-09-13 14:31:27.000000000 +0900
+++ vr/arch/mips/vr41xx/common/icu.c 2004-09-17 17:15:30.000000000 +0900
@@ -51,6 +51,12 @@
static uint32_t icu1_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] = {
0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
static unsigned char sysint2_assign[16] = {
@@ -674,8 +680,6 @@

/*=======================================================================*/

-static struct irqaction icu_cascade = {no_action, 0, 0, "cascade", NULL, NULL};
-
static inline void init_vr41xx_icu_irq(void)
{
int i;