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
00d1f3c3
Commit
00d1f3c3
authored
Feb 26, 2007
by
Kyle McMartin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PARISC] clocksource_cr16: Use clocksource_change_rating()
Signed-off-by:
Kyle McMartin
<
kyle@parisc-linux.org
>
parent
0ff851e1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
arch/parisc/kernel/time.c
arch/parisc/kernel/time.c
+1
-2
No files found.
arch/parisc/kernel/time.c
View file @
00d1f3c3
...
...
@@ -196,8 +196,7 @@ static int cr16_update_callback(void)
/* since the cr16 cycle counters are not syncronized across CPUs,
we'll check if we should switch to a safe clocksource: */
if
(
clocksource_cr16
.
rating
!=
0
&&
num_online_cpus
()
>
1
)
{
clocksource_cr16
.
rating
=
0
;
clocksource_reselect
();
clocksource_change_rating
(
&
clocksource_cr16
,
0
);
change
=
1
;
}
...
...
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