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
2aebc5b1
Commit
2aebc5b1
authored
Apr 08, 2004
by
Dave Jones
Committed by
Dave Jones
Apr 08, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[CPUFREQ] Don't bother checking if we need workarounds if we don't support powernow.
parent
c2076f46
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
arch/i386/kernel/cpu/cpufreq/powernow-k7.c
arch/i386/kernel/cpu/cpufreq/powernow-k7.c
+5
-5
No files found.
arch/i386/kernel/cpu/cpufreq/powernow-k7.c
View file @
2aebc5b1
...
@@ -98,11 +98,6 @@ static int check_powernow(void)
...
@@ -98,11 +98,6 @@ static int check_powernow(void)
return
0
;
return
0
;
}
}
if
((
c
->
x86_model
==
6
)
&&
(
c
->
x86_mask
==
0
))
{
printk
(
KERN_INFO
PFX
"K7 660[A0] core detected, enabling errata workarounds
\n
"
);
have_a0
=
1
;
}
/* Get maximum capabilities */
/* Get maximum capabilities */
maxei
=
cpuid_eax
(
0x80000000
);
maxei
=
cpuid_eax
(
0x80000000
);
if
(
maxei
<
0x80000007
)
{
/* Any powernow info ? */
if
(
maxei
<
0x80000007
)
{
/* Any powernow info ? */
...
@@ -112,6 +107,11 @@ static int check_powernow(void)
...
@@ -112,6 +107,11 @@ static int check_powernow(void)
return
0
;
return
0
;
}
}
if
((
c
->
x86_model
==
6
)
&&
(
c
->
x86_mask
==
0
))
{
printk
(
KERN_INFO
PFX
"K7 660[A0] core detected, enabling errata workarounds
\n
"
);
have_a0
=
1
;
}
cpuid
(
0x80000007
,
&
eax
,
&
ebx
,
&
ecx
,
&
edx
);
cpuid
(
0x80000007
,
&
eax
,
&
ebx
,
&
ecx
,
&
edx
);
printk
(
KERN_INFO
PFX
"PowerNOW! Technology present. Can scale: "
);
printk
(
KERN_INFO
PFX
"PowerNOW! Technology present. Can scale: "
);
...
...
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