OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54954a6
)
MIPS: Octeon: Remove bogus code from octeon_get_clock_rate()
author
David Daney
<ddaney@caviumnetworks.com>
Thu, 7 Oct 2010 23:03:48 +0000
(16:03 -0700)
committer
Ralf Baechle
<ralf@linux-mips.org>
Fri, 29 Oct 2010 18:08:39 +0000
(19:08 +0100)
We can run with any simulator clock rate. Get rid of the code
overriding it to 6MHz.
Signed-off-by: David Daney <ddaney@caviumnetworks.com>
Patchwork: http://patchwork.linux-mips.org/patch/1669/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/cavium-octeon/setup.c
patch
|
blob
|
history
diff --git
a/arch/mips/cavium-octeon/setup.c
b/arch/mips/cavium-octeon/setup.c
index
69197cb
..
fc151be
100644
(file)
--- a/
arch/mips/cavium-octeon/setup.c
+++ b/
arch/mips/cavium-octeon/setup.c
@@
-96,8
+96,6
@@
int octeon_is_pci_host(void)
*/
uint64_t octeon_get_clock_rate(void)
{
- if (octeon_is_simulation())
- octeon_bootinfo->eclock_hz = 6000000;
return octeon_bootinfo->eclock_hz;
}
EXPORT_SYMBOL(octeon_get_clock_rate);