[PATCH] mips: fixed initialization error

From: Yoichi Yuasa
Date: Fri Sep 17 2004 - 11:57:44 EST


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

Signed-off-by: Yoichi Yuasa <yuasa@xxxxxxxxxxxxxx>

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;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/