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
cfe97b43
Commit
cfe97b43
authored
Mar 19, 2004
by
Dave Jones
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[CPUFREQ] Use KERN_WARNING for warning.
parent
7cc9f0d9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
7 deletions
+10
-7
arch/i386/kernel/cpu/cpufreq/p4-clockmod.c
arch/i386/kernel/cpu/cpufreq/p4-clockmod.c
+10
-7
No files found.
arch/i386/kernel/cpu/cpufreq/p4-clockmod.c
View file @
cfe97b43
...
...
@@ -181,21 +181,24 @@ static unsigned int cpufreq_p4_get_frequency(struct cpuinfo_x86 *c)
{
if
((
c
->
x86
==
0x06
)
&&
(
c
->
x86_model
==
0x09
))
{
/* Pentium M */
printk
(
KERN_DEBUG
PFX
"Warning: Pentium M detected. The speedstep_centrino module
\n
"
);
printk
(
KERN_DEBUG
PFX
"offers voltage scaling in addition of frequency scaling. You
\n
"
);
printk
(
KERN_DEBUG
PFX
"should use that instead of p4-clockmod, if possible.
\n
"
);
printk
(
KERN_WARNING
PFX
"Warning: Pentium M detected. "
"The speedstep_centrino module offers voltage scaling"
" in addition of frequency scaling. You should use "
"that instead of p4-clockmod, if possible.
\n
"
);
return
speedstep_get_processor_frequency
(
SPEEDSTEP_PROCESSOR_PM
);
}
if
(
c
->
x86
!=
0xF
)
{
printk
(
KERN_
DEBU
G
PFX
"Unknown p4-clockmod-capable CPU. Please send an e-mail to <linux@brodo.de>
\n
"
);
printk
(
KERN_
WARNIN
G
PFX
"Unknown p4-clockmod-capable CPU. Please send an e-mail to <linux@brodo.de>
\n
"
);
return
0
;
}
if
(
speedstep_detect_processor
()
==
SPEEDSTEP_PROCESSOR_P4M
)
{
printk
(
KERN_DEBUG
PFX
"Warning: Pentium 4-M detected. The speedstep-ich or acpi cpufreq
\n
"
);
printk
(
KERN_DEBUG
PFX
"modules offers voltage scaling in addition of frequency scaling. You
\n
"
);
printk
(
KERN_DEBUG
PFX
"should use either one instead of p4-clockmod, if possible.
\n
"
);
printk
(
KERN_WARNING
PFX
"Warning: Pentium 4-M detected. "
"The speedstep-ich or acpi cpufreq modules offers "
"voltage scaling in addition of frequency scaling. "
"You should use either one instead of p4-clockmod, "
"if possible.
\n
"
);
return
speedstep_get_processor_frequency
(
SPEEDSTEP_PROCESSOR_P4M
);
}
...
...
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