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
nexedi
linux
Commits
cd544264
Commit
cd544264
authored
Mar 17, 2003
by
Dave Jones
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[CPUFREQ] remove duplicate cpuid check from p4 clockmod driver.
parent
267a61ee
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
7 deletions
+0
-7
arch/i386/kernel/cpu/cpufreq/p4-clockmod.c
arch/i386/kernel/cpu/cpufreq/p4-clockmod.c
+0
-7
No files found.
arch/i386/kernel/cpu/cpufreq/p4-clockmod.c
View file @
cd544264
...
...
@@ -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
)
{
...
...
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