linux-mips
[Top] [All Lists]

[PATCH] vr41xx: fixes the initialization error in icu.c

To: Ralf Baechle <ralf@linux-mips.org>
Subject: [PATCH] vr41xx: fixes the initialization error in icu.c
From: Yoichi Yuasa <yuasa@hh.iij4u.or.jp>
Date: Mon, 5 Jul 2004 00:32:39 +0900
Cc: yuasa@hh.iij4u.or.jp, linux-mips <linux-mips@linux-mips.org>
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
Hi Ralf,

The following patch fixes the initialization error in 
arch/mips/vr41xx/common/icu.c.

Please apply this patch to v2.6 CVS tree.

Yoichi

diff -urN -X dontdiff linux-orig/arch/mips/vr41xx/common/icu.c 
linux/arch/mips/vr41xx/common/icu.c
--- linux-orig/arch/mips/vr41xx/common/icu.c    Thu May 27 02:11:11 2004
+++ linux/arch/mips/vr41xx/common/icu.c Mon Jul  5 00:10:57 2004
@@ -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] = {
@@ -673,8 +679,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)
 {

<Prev in Thread] Current Thread [Next in Thread>
  • [PATCH] vr41xx: fixes the initialization error in icu.c, Yoichi Yuasa <=