Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci-2.6.23
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci-2.6.23
Commits
c3a005f4
Commit
c3a005f4
authored
Jul 27, 2007
by
Kevin D. Kissell
Committed by
Ralf Baechle
Jul 31, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[MIPS] SMTC: Safety net for i8259A interrupts.
Signed-off-by:
Ralf Baechle
<
ralf@linux-mips.org
>
parent
efaa534e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
arch/mips/mips-boards/malta/malta_int.c
arch/mips/mips-boards/malta/malta_int.c
+12
-0
No files found.
arch/mips/mips-boards/malta/malta_int.c
View file @
c3a005f4
...
...
@@ -330,6 +330,18 @@ void __init arch_init_irq(void)
(
0x100
<<
MIPSCPU_INT_I8259A
));
setup_irq_smtc
(
MIPS_CPU_IRQ_BASE
+
MIPSCPU_INT_COREHI
,
&
corehi_irqaction
,
(
0x100
<<
MIPSCPU_INT_COREHI
));
/*
* Temporary hack to ensure that the subsidiary device
* interrupts coing in via the i8259A, but associated
* with low IRQ numbers, will restore the Status.IM
* value associated with the i8259A.
*/
{
int
i
;
for
(
i
=
0
;
i
<
16
;
i
++
)
irq_hwmask
[
i
]
=
(
0x100
<<
MIPSCPU_INT_I8259A
);
}
#else
/* Not SMTC */
setup_irq
(
MIPS_CPU_IRQ_BASE
+
MIPSCPU_INT_I8259A
,
&
i8259irq
);
setup_irq
(
MIPS_CPU_IRQ_BASE
+
MIPSCPU_INT_COREHI
,
&
corehi_irqaction
);
...
...
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