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
6da5e30b
Commit
6da5e30b
authored
Jul 15, 2008
by
Ralf Baechle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[MIPS] Remove impossible ifdef and code wrapped by it.
Signed-off-by:
Ralf Baechle
<
ralf@linux-mips.org
>
parent
1398ddb2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
13 deletions
+0
-13
arch/mips/mips-boards/generic/time.c
arch/mips/mips-boards/generic/time.c
+0
-13
No files found.
arch/mips/mips-boards/generic/time.c
View file @
6da5e30b
...
...
@@ -70,19 +70,6 @@ static unsigned int __init estimate_cpu_frequency(void)
unsigned
int
prid
=
read_c0_prid
()
&
0xffff00
;
unsigned
int
count
;
#ifdef CONFIG_MIPS_SIM
/*
* The SEAD board doesn't have a real time clock, so we can't
* really calculate the timer frequency
* For now we hardwire the SEAD board frequency to 12MHz.
*/
if
((
prid
==
(
PRID_COMP_MIPS
|
PRID_IMP_20KC
))
||
(
prid
==
(
PRID_COMP_MIPS
|
PRID_IMP_25KF
)))
count
=
12000000
;
else
count
=
6000000
;
#endif
#ifdef CONFIG_MIPS_MALTA
unsigned
long
flags
;
unsigned
int
start
;
...
...
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