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
2e5dcd2b
Commit
2e5dcd2b
authored
Oct 31, 2007
by
Ralf Baechle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[MIPS] Sibyte: Fix names of the clockevent devices.
Signed-off-by:
Ralf Baechle
<
ralf@linux-mips.org
>
parent
9e32a510
Changes
2
Hide 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 @
2e5dcd2b
...
@@ -116,7 +116,7 @@ void __cpuinit sb1480_clockevent_init(void)
...
@@ -116,7 +116,7 @@ void __cpuinit sb1480_clockevent_init(void)
BUG_ON
(
cpu
>
3
);
/* Only have 4 general purpose timers */
BUG_ON
(
cpu
>
3
);
/* Only have 4 general purpose timers */
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_FEAT_ONESHOT
;
CLOCK_EVT_FEAT_ONESHOT
;
...
...
arch/mips/sibyte/sb1250/time.c
View file @
2e5dcd2b
...
@@ -134,7 +134,7 @@ void __cpuinit sb1250_clockevent_init(void)
...
@@ -134,7 +134,7 @@ void __cpuinit sb1250_clockevent_init(void)
/* Only have 4 general purpose timers, and we use last one as hpt */
/* Only have 4 general purpose timers, and we use last one as hpt */
BUG_ON
(
cpu
>
2
);
BUG_ON
(
cpu
>
2
);
sprintf
(
name
,
"
bcm1480-counter
%d"
,
cpu
);
sprintf
(
name
,
"
sb1250-counter-
%d"
,
cpu
);
cd
->
name
=
name
;
cd
->
name
=
name
;
cd
->
features
=
CLOCK_EVT_FEAT_PERIODIC
|
cd
->
features
=
CLOCK_EVT_FEAT_PERIODIC
|
CLOCK_EVT_FEAT_ONESHOT
;
CLOCK_EVT_FEAT_ONESHOT
;
...
...
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