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
a50b3e27
Commit
a50b3e27
authored
Aug 16, 2005
by
Ralf Baechle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do the timer interrupt only once on CPU 0 ...
Signed-off-by:
Ralf Baechle
<
ralf@linux-mips.org
>
parent
8b200ce4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
8 deletions
+9
-8
arch/mips/sibyte/sb1250/time.c
arch/mips/sibyte/sb1250/time.c
+9
-8
No files found.
arch/mips/sibyte/sb1250/time.c
View file @
a50b3e27
...
...
@@ -107,17 +107,18 @@ void sb1250_timer_interrupt(struct pt_regs *regs)
____raw_writeq
(
M_SCD_TIMER_ENABLE
|
M_SCD_TIMER_MODE_CONTINUOUS
,
IOADDR
(
A_SCD_TIMER_REGISTER
(
cpu
,
R_SCD_TIMER_CFG
)));
/*
* CPU 0 handles the global timer interrupt job
*/
if
(
cpu
==
0
)
{
/*
* CPU 0 handles the global timer interrupt job
*/
ll_timer_interrupt
(
irq
,
regs
);
}
/*
* every CPU should do profiling and process accouting
*/
ll_local_timer_interrupt
(
irq
,
regs
);
else
{
/*
* other CPUs should just do profiling and process accounting
*/
ll_local_timer_interrupt
(
irq
,
regs
);
}
}
/*
...
...
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