Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
ea7c3944
Commit
ea7c3944
authored
Feb 04, 2005
by
Maciej W. Rozycki
Committed by
Ralf Baechle
Oct 29, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clean up SEAD interrupt initialization.
Signed-off-by:
Ralf Baechle
<
ralf@linux-mips.org
>
parent
925ddb04
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
7 deletions
+5
-7
arch/mips/mips-boards/sead/sead_int.c
arch/mips/mips-boards/sead/sead_int.c
+5
-7
No files found.
arch/mips/mips-boards/sead/sead_int.c
View file @
ea7c3944
...
@@ -2,6 +2,7 @@
...
@@ -2,6 +2,7 @@
* Carsten Langgaard, carstenl@mips.com
* Carsten Langgaard, carstenl@mips.com
* Copyright (C) 2002 MIPS Technologies, Inc. All rights reserved.
* Copyright (C) 2002 MIPS Technologies, Inc. All rights reserved.
* Copyright (C) 2003 Ralf Baechle (ralf@linux-mips.org)
* 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
* 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
* under the terms of the GNU General Public License (Version 2) as
...
@@ -21,7 +22,9 @@
...
@@ -21,7 +22,9 @@
*/
*/
#include <linux/init.h>
#include <linux/init.h>
#include <linux/irq.h>
#include <linux/irq.h>
#include <linux/interrupt.h>
#include <asm/irq_cpu.h>
#include <asm/system.h>
#include <asm/mips-boards/seadint.h>
#include <asm/mips-boards/seadint.h>
...
@@ -39,13 +42,8 @@ asmlinkage void sead_hw1_irqdispatch(struct pt_regs *regs)
...
@@ -39,13 +42,8 @@ asmlinkage void sead_hw1_irqdispatch(struct pt_regs *regs)
void
__init
arch_init_irq
(
void
)
void
__init
arch_init_irq
(
void
)
{
{
/*
mips_cpu_irq_init
(
0
);
* Mask out all interrupt
*/
clear_c0_status
(
0x0000ff00
);
/* Now safe to set the exception vector. */
/* Now safe to set the exception vector. */
set_except_vector
(
0
,
mipsIRQ
);
set_except_vector
(
0
,
mipsIRQ
);
mips_cpu_irq_init
(
0
);
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment