Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
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
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
Show 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)
myvpe
=
read_c0_tcbind
()
&
TCBIND_CURVPE
;
if
(
myvpe
!=
0
)
{
/* Ideally, this should be done only once per VPE, but... */
clear_c0_status
(
STATUSF_IP2
);
set_c0_status
(
STATUSF_IP0
|
STATUSF_IP1
|
STATUSF_IP3
|
STATUSF_IP4
|
STATUSF_IP5
|
STATUSF_IP6
|
STATUSF_IP7
);
clear_c0_status
(
ST0_IM
);
set_c0_status
((
0x100
<<
cp0_compare_irq
)
|
(
0x100
<<
MIPS_CPU_IPI_IRQ
));
if
(
cp0_perfcount_irq
>=
0
)
set_c0_status
(
0x100
<<
cp0_perfcount_irq
);
}
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