Commit f7d6fe84 authored by Linus Torvalds's avatar Linus Torvalds

Merge bk://linux-dj.bkbits.net/cpufreq

into ppc970.osdl.org:/home/torvalds/v2.5/linux
parents f5106b15 4859cfbb
...@@ -521,7 +521,7 @@ CPU FREQUENCY DRIVERS ...@@ -521,7 +521,7 @@ CPU FREQUENCY DRIVERS
P: Dave Jones P: Dave Jones
M: davej@codemonkey.org.uk M: davej@codemonkey.org.uk
L: cpufreq@www.linux.org.uk L: cpufreq@www.linux.org.uk
W: http://www.codemonkey.org.uk/cpufreq/ W: http://www.codemonkey.org.uk/projects/cpufreq/
S: Maintained S: Maintained
CPUID/MSR DRIVER CPUID/MSR DRIVER
......
/* /*
* (C) 2001-2003 Dave Jones. <davej@codemonkey.org.uk> * (C) 2001-2004 Dave Jones. <davej@codemonkey.org.uk>
* (C) 2002 Padraig Brady. <padraig@antefacto.com> * (C) 2002 Padraig Brady. <padraig@antefacto.com>
* *
* Licensed under the terms of the GNU GPL License version 2. * Licensed under the terms of the GNU GPL License version 2.
...@@ -186,6 +186,7 @@ static int _guess (int guess, int maxmult) ...@@ -186,6 +186,7 @@ static int _guess (int guess, int maxmult)
return target; return target;
} }
static int guess_fsb(int maxmult) static int guess_fsb(int maxmult)
{ {
int speed = (cpu_khz/1000); int speed = (cpu_khz/1000);
...@@ -203,7 +204,6 @@ static int guess_fsb(int maxmult) ...@@ -203,7 +204,6 @@ static int guess_fsb(int maxmult)
} }
static int __init longhaul_get_ranges (void) static int __init longhaul_get_ranges (void)
{ {
struct cpuinfo_x86 *c = cpu_data; struct cpuinfo_x86 *c = cpu_data;
...@@ -359,7 +359,7 @@ static int longhaul_target (struct cpufreq_policy *policy, ...@@ -359,7 +359,7 @@ static int longhaul_target (struct cpufreq_policy *policy,
return 0; return 0;
} }
static int longhaul_cpu_init (struct cpufreq_policy *policy) static int __init longhaul_cpu_init (struct cpufreq_policy *policy)
{ {
struct cpuinfo_x86 *c = cpu_data; struct cpuinfo_x86 *c = cpu_data;
char *cpuname=NULL; char *cpuname=NULL;
......
...@@ -220,7 +220,7 @@ static unsigned int __init longrun_determine_freqs(unsigned int *low_freq, ...@@ -220,7 +220,7 @@ static unsigned int __init longrun_determine_freqs(unsigned int *low_freq,
} }
static int longrun_cpu_init(struct cpufreq_policy *policy) static int __init longrun_cpu_init(struct cpufreq_policy *policy)
{ {
int result = 0; int result = 0;
......
/* /*
* AMD K7 Powernow driver. * AMD K7 Powernow driver.
* (C) 2003 Dave Jones <davej@codemonkey.org.uk> on behalf of SuSE Labs. * (C) 2003 Dave Jones <davej@codemonkey.org.uk> on behalf of SuSE Labs.
* (C) 2003 Dave Jones <davej@redhat.com> * (C) 2003-2004 Dave Jones <davej@redhat.com>
* *
* Licensed under the terms of the GNU GPL License version 2. * Licensed under the terms of the GNU GPL License version 2.
* Based upon datasheets & sample CPUs kindly provided by AMD. * Based upon datasheets & sample CPUs kindly provided by AMD.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment