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
e6a1bb72
Commit
e6a1bb72
authored
Nov 28, 2007
by
Ralf Baechle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[MIPS] Fix build.
Signed-off-by:
Ralf Baechle
<
ralf@linux-mips.org
>
parent
54fd6441
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
arch/mips/kernel/csrc-r4k.c
arch/mips/kernel/csrc-r4k.c
+5
-1
No files found.
arch/mips/kernel/csrc-r4k.c
View file @
e6a1bb72
...
@@ -5,6 +5,10 @@
...
@@ -5,6 +5,10 @@
*
*
* Copyright (C) 2007 by Ralf Baechle
* Copyright (C) 2007 by Ralf Baechle
*/
*/
#include <linux/clocksource.h>
#include <linux/init.h>
#include <asm/time.h>
static
cycle_t
c0_hpt_read
(
void
)
static
cycle_t
c0_hpt_read
(
void
)
{
{
...
@@ -18,7 +22,7 @@ static struct clocksource clocksource_mips = {
...
@@ -18,7 +22,7 @@ static struct clocksource clocksource_mips = {
.
flags
=
CLOCK_SOURCE_IS_CONTINUOUS
,
.
flags
=
CLOCK_SOURCE_IS_CONTINUOUS
,
};
};
static
void
__init
init_mips_clocksource
(
void
)
void
__init
init_mips_clocksource
(
void
)
{
{
/* Calclate a somewhat reasonable rating value */
/* Calclate a somewhat reasonable rating value */
clocksource_mips
.
rating
=
200
+
mips_hpt_frequency
/
10000000
;
clocksource_mips
.
rating
=
200
+
mips_hpt_frequency
/
10000000
;
...
...
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