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
c2cf4faa
Commit
c2cf4faa
authored
Mar 20, 2003
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Merge
bk://linux-dj.bkbits.net/cpufreq
into home.transmeta.com:/home/torvalds/v2.5/linux
parents
1343c2a8
77b054d2
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
1 addition
and
18 deletions
+1
-18
arch/i386/kernel/cpu/cpufreq/longhaul.c
arch/i386/kernel/cpu/cpufreq/longhaul.c
+0
-3
arch/i386/kernel/cpu/cpufreq/longrun.c
arch/i386/kernel/cpu/cpufreq/longrun.c
+0
-3
arch/i386/kernel/cpu/cpufreq/p4-clockmod.c
arch/i386/kernel/cpu/cpufreq/p4-clockmod.c
+0
-7
arch/i386/kernel/cpu/cpufreq/powernow-k6.c
arch/i386/kernel/cpu/cpufreq/powernow-k6.c
+0
-4
kernel/cpufreq.c
kernel/cpufreq.c
+1
-1
No files found.
arch/i386/kernel/cpu/cpufreq/longhaul.c
View file @
c2cf4faa
...
...
@@ -525,9 +525,6 @@ static int longhaul_cpu_init (struct cpufreq_policy *policy)
{
struct
cpuinfo_x86
*
c
=
cpu_data
;
if
((
c
->
x86_vendor
!=
X86_VENDOR_CENTAUR
)
||
(
c
->
x86
!=
6
)
)
return
-
ENODEV
;
switch
(
c
->
x86_model
)
{
case
6
:
/* VIA C3 Samuel C5A */
longhaul
=
1
;
...
...
arch/i386/kernel/cpu/cpufreq/longrun.c
View file @
c2cf4faa
...
...
@@ -229,9 +229,6 @@ static int longrun_cpu_init(struct cpufreq_policy *policy)
/* capability check */
if
(
policy
->
cpu
!=
0
)
return
-
ENODEV
;
if
(
c
->
x86_vendor
!=
X86_VENDOR_TRANSMETA
||
!
cpu_has
(
c
,
X86_FEATURE_LONGRUN
))
return
-
ENODEV
;
/* detect low and high frequency */
result
=
longrun_determine_freqs
(
&
longrun_low_freq
,
&
longrun_high_freq
);
...
...
arch/i386/kernel/cpu/cpufreq/p4-clockmod.c
View file @
c2cf4faa
...
...
@@ -180,13 +180,6 @@ static int cpufreq_p4_cpu_init(struct cpufreq_policy *policy)
int
cpuid
=
0
;
unsigned
int
i
;
/* capability check */
if
(
c
->
x86_vendor
!=
X86_VENDOR_INTEL
)
return
-
ENODEV
;
if
(
!
test_bit
(
X86_FEATURE_ACPI
,
c
->
x86_capability
)
||
!
test_bit
(
X86_FEATURE_ACC
,
c
->
x86_capability
))
return
-
ENODEV
;
/* Errata workaround */
cpuid
=
(
c
->
x86
<<
8
)
|
(
c
->
x86_model
<<
4
)
|
c
->
x86_mask
;
switch
(
cpuid
)
{
...
...
arch/i386/kernel/cpu/cpufreq/powernow-k6.c
View file @
c2cf4faa
...
...
@@ -145,10 +145,6 @@ static int powernow_k6_cpu_init(struct cpufreq_policy *policy)
struct
cpuinfo_x86
*
c
=
cpu_data
;
unsigned
int
i
;
/* capability check */
if
((
c
->
x86_vendor
!=
X86_VENDOR_AMD
)
||
(
c
->
x86
!=
5
)
||
((
c
->
x86_model
!=
12
)
&&
(
c
->
x86_model
!=
13
)))
return
-
ENODEV
;
if
(
policy
->
cpu
!=
0
)
return
-
ENODEV
;
...
...
kernel/cpufreq.c
View file @
c2cf4faa
...
...
@@ -46,7 +46,7 @@ static struct notifier_block *cpufreq_transition_notifier_list;
static
DECLARE_RWSEM
(
cpufreq_notifier_rwsem
);
LIST_HEAD
(
cpufreq_governor_list
);
static
LIST_HEAD
(
cpufreq_governor_list
);
static
DECLARE_MUTEX
(
cpufreq_governor_sem
);
static
struct
device_interface
cpufreq_interface
;
...
...
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