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
dc0366bf
Commit
dc0366bf
authored
Aug 01, 2007
by
Ralf Baechle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[MIPS] SMTC: Fix secondary VPE interrupt mask initialization.
Signed-off-by:
Ralf Baechle
<
ralf@linux-mips.org
>
parent
99e480d8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
arch/mips/mips-boards/malta/malta_smtc.c
arch/mips/mips-boards/malta/malta_smtc.c
+5
-4
No files found.
arch/mips/mips-boards/malta/malta_smtc.c
View file @
dc0366bf
...
@@ -42,10 +42,11 @@ void prom_init_secondary(void)
...
@@ -42,10 +42,11 @@ void prom_init_secondary(void)
myvpe
=
read_c0_tcbind
()
&
TCBIND_CURVPE
;
myvpe
=
read_c0_tcbind
()
&
TCBIND_CURVPE
;
if
(
myvpe
!=
0
)
{
if
(
myvpe
!=
0
)
{
/* Ideally, this should be done only once per VPE, but... */
/* Ideally, this should be done only once per VPE, but... */
clear_c0_status
(
STATUSF_IP2
);
clear_c0_status
(
ST0_IM
);
set_c0_status
(
STATUSF_IP0
|
STATUSF_IP1
|
STATUSF_IP3
set_c0_status
((
0x100
<<
cp0_compare_irq
)
|
STATUSF_IP4
|
STATUSF_IP5
|
STATUSF_IP6
|
(
0x100
<<
MIPS_CPU_IPI_IRQ
));
|
STATUSF_IP7
);
if
(
cp0_perfcount_irq
>=
0
)
set_c0_status
(
0x100
<<
cp0_perfcount_irq
);
}
}
smtc_init_secondary
();
smtc_init_secondary
();
...
...
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