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
1238d5d8
Commit
1238d5d8
authored
Oct 29, 2007
by
Ralf Baechle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[MIPS] time: Fix cut'n'paste bug in Sibyte clockevent driver.
Signed-off-by:
Ralf Baechle
<
ralf@linux-mips.org
>
parent
3a6c43a7
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
arch/mips/sibyte/bcm1480/time.c
arch/mips/sibyte/bcm1480/time.c
+1
-1
arch/mips/sibyte/sb1250/time.c
arch/mips/sibyte/sb1250/time.c
+1
-1
No files found.
arch/mips/sibyte/bcm1480/time.c
View file @
1238d5d8
...
@@ -119,7 +119,7 @@ void __cpuinit sb1480_clockevent_init(void)
...
@@ -119,7 +119,7 @@ void __cpuinit sb1480_clockevent_init(void)
sprintf
(
name
,
"bcm1480-counter %d"
,
cpu
);
sprintf
(
name
,
"bcm1480-counter %d"
,
cpu
);
cd
->
name
=
name
;
cd
->
name
=
name
;
cd
->
features
=
CLOCK_EVT_FEAT_PERIODIC
|
cd
->
features
=
CLOCK_EVT_FEAT_PERIODIC
|
CLOCK_EVT_
MODE
_ONESHOT
;
CLOCK_EVT_
FEAT
_ONESHOT
;
clockevent_set_clock
(
cd
,
V_SCD_TIMER_FREQ
);
clockevent_set_clock
(
cd
,
V_SCD_TIMER_FREQ
);
cd
->
max_delta_ns
=
clockevent_delta2ns
(
0x7fffff
,
cd
);
cd
->
max_delta_ns
=
clockevent_delta2ns
(
0x7fffff
,
cd
);
cd
->
min_delta_ns
=
clockevent_delta2ns
(
1
,
cd
);
cd
->
min_delta_ns
=
clockevent_delta2ns
(
1
,
cd
);
...
...
arch/mips/sibyte/sb1250/time.c
View file @
1238d5d8
...
@@ -137,7 +137,7 @@ void __cpuinit sb1250_clockevent_init(void)
...
@@ -137,7 +137,7 @@ void __cpuinit sb1250_clockevent_init(void)
sprintf
(
name
,
"bcm1480-counter %d"
,
cpu
);
sprintf
(
name
,
"bcm1480-counter %d"
,
cpu
);
cd
->
name
=
name
;
cd
->
name
=
name
;
cd
->
features
=
CLOCK_EVT_FEAT_PERIODIC
|
cd
->
features
=
CLOCK_EVT_FEAT_PERIODIC
|
CLOCK_EVT_
MODE
_ONESHOT
;
CLOCK_EVT_
FEAT
_ONESHOT
;
clockevent_set_clock
(
cd
,
V_SCD_TIMER_FREQ
);
clockevent_set_clock
(
cd
,
V_SCD_TIMER_FREQ
);
cd
->
max_delta_ns
=
clockevent_delta2ns
(
0x7fffff
,
cd
);
cd
->
max_delta_ns
=
clockevent_delta2ns
(
0x7fffff
,
cd
);
cd
->
min_delta_ns
=
clockevent_delta2ns
(
1
,
cd
);
cd
->
min_delta_ns
=
clockevent_delta2ns
(
1
,
cd
);
...
...
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