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
nexedi
linux
Commits
2c771a4c
Commit
2c771a4c
authored
Oct 23, 2007
by
Ralf Baechle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[MIPS] Alchemy: micro-optimizatize time code.
Signed-off-by:
Ralf Baechle
<
ralf@linux-mips.org
>
parent
310a09d8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
7 deletions
+2
-7
arch/mips/au1000/common/time.c
arch/mips/au1000/common/time.c
+2
-7
No files found.
arch/mips/au1000/common/time.c
View file @
2c771a4c
...
...
@@ -262,15 +262,10 @@ void __init plat_timer_setup(struct irqaction *irq)
* we do this.
*/
if
(
no_au1xxx_32khz
)
{
unsigned
int
c0_status
;
printk
(
"WARNING: no 32KHz clock found.
\n
"
);
/* Ensure we get CPO_COUNTER interrupts.
*/
c0_status
=
read_c0_status
();
c0_status
|=
IE_IRQ5
;
write_c0_status
(
c0_status
);
/* Ensure we get CPO_COUNTER interrupts. */
set_c0_status
(
IE_IRQ5
);
}
else
{
while
(
au_readl
(
SYS_COUNTER_CNTRL
)
&
SYS_CNTRL_C0S
);
...
...
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