linux-cvs-patches
[Top] [All Lists]

CVS Update@linux-mips.org: linux

To: linux-cvs-patches@linux-mips.org
Subject: CVS Update@linux-mips.org: linux
From: macro@linux-mips.org
Date: Fri, 04 Feb 2005 01:35:04 +0000
Reply-to: linux-mips@linux-mips.org
Sender: linux-cvs-patches-bounce@linux-mips.org
CVSROOT:        /home/cvs
Module name:    linux
Changes by:     macro@ftp.linux-mips.org        05/02/04 01:34:52

Modified files:
        arch/mips/mips-boards/sead: sead_int.c 

Log message:
        Clean up SEAD interrupt initialization.

diff -urN linux/arch/mips/mips-boards/sead/sead_int.c 
linux/arch/mips/mips-boards/sead/sead_int.c
--- linux/arch/mips/mips-boards/sead/sead_int.c 2004/08/20 09:19:02     1.8
+++ linux/arch/mips/mips-boards/sead/sead_int.c 2005/02/04 01:34:52     1.9
@@ -2,6 +2,7 @@
  * Carsten Langgaard, carstenl@mips.com
  * Copyright (C) 2002 MIPS Technologies, Inc.  All rights reserved.
  * Copyright (C) 2003 Ralf Baechle (ralf@linux-mips.org)
+ * Copyright (C) 2004  Maciej W. Rozycki
  *
  *  This program is free software; you can distribute it and/or modify it
  *  under the terms of the GNU General Public License (Version 2) as
@@ -21,7 +22,9 @@
  */
 #include <linux/init.h>
 #include <linux/irq.h>
-#include <linux/interrupt.h>
+
+#include <asm/irq_cpu.h>
+#include <asm/system.h>
 
 #include <asm/mips-boards/seadint.h>
 
@@ -39,13 +42,8 @@
 
 void __init arch_init_irq(void)
 {
-        /*
-         * Mask out all interrupt
-        */
-       clear_c0_status(0x0000ff00);
+       mips_cpu_irq_init(0);
 
        /* Now safe to set the exception vector. */
        set_except_vector(0, mipsIRQ);
-
-       mips_cpu_irq_init(0);
 }

<Prev in Thread] Current Thread [Next in Thread>