projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e11952b
)
[CPUFREQ] Longhaul - fix 200MHz FSB
author
Rafa³ Bilski
<rafalbilski@interia.pl>
Thu, 30 Nov 2006 02:36:44 +0000
(
03:36
+0100)
committer
Dave Jones
<davej@redhat.com>
Tue, 12 Dec 2006 22:33:10 +0000
(17:33 -0500)
On board of Epia SP13000 is 10x133Mhz VIA Nehemiah. It is reported
as 10x200MHz. This patch is fixing this issue.
Signed-off-by: Rafa³ Bilski <rafalbilski@interia.pl>
Signed-off-by: Dave Jones <davej@redhat.com>
arch/i386/kernel/cpu/cpufreq/longhaul.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/i386/kernel/cpu/cpufreq/longhaul.c
b/arch/i386/kernel/cpu/cpufreq/longhaul.c
index 7233abe5d695533a5ca701bb615681c1a156d487..05946293364ce57b8ca9956b747fb23217a79743 100644
(file)
--- a/
arch/i386/kernel/cpu/cpufreq/longhaul.c
+++ b/
arch/i386/kernel/cpu/cpufreq/longhaul.c
@@
-410,7
+410,7
@@
static int __init longhaul_get_ranges(void)
maxmult=longhaul_get_cpu_mult();
/* Starting with the 1.2GHz parts, theres a 200MHz bus. */
- if ((cpu_khz/
1000) > 12
00)
+ if ((cpu_khz/
maxmult) > 134
00)
fsb = 200;
else
fsb = eblcr_fsb_table_v2[longhaul.bits.MaxMHzFSB];