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
763cd576
Commit
763cd576
authored
Apr 19, 2004
by
Dave Jones
Committed by
Dave Jones
Apr 19, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[CPUFREQ] Fix up missing CONFIG_X86_POWERNOW_K8_ACPI
We don't need this, we can infer from CONFIG_ACPI_PROCESSOR
parent
5a383eb1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
arch/i386/kernel/cpu/cpufreq/powernow-k8.c
arch/i386/kernel/cpu/cpufreq/powernow-k8.c
+2
-2
arch/i386/kernel/cpu/cpufreq/powernow-k8.h
arch/i386/kernel/cpu/cpufreq/powernow-k8.h
+1
-1
No files found.
arch/i386/kernel/cpu/cpufreq/powernow-k8.c
View file @
763cd576
...
...
@@ -32,7 +32,7 @@
#include <asm/io.h>
#include <asm/delay.h>
#ifdef CONFIG_
X86_POWERNOW_K8_ACPI
#ifdef CONFIG_
ACPI_PROCESSOR
#include <linux/acpi.h>
#include <acpi/processor.h>
#endif
...
...
@@ -666,7 +666,7 @@ static int find_psb_table(struct powernow_k8_data *data)
return
-
ENODEV
;
}
#ifdef CONFIG_
X86_POWERNOW_K8_ACPI
#ifdef CONFIG_
ACPI_PROCESSOR
static
void
powernow_k8_acpi_pst_values
(
struct
powernow_k8_data
*
data
,
unsigned
int
index
)
{
if
(
!
data
->
acpi_data
.
state_count
)
...
...
arch/i386/kernel/cpu/cpufreq/powernow-k8.h
View file @
763cd576
...
...
@@ -29,7 +29,7 @@ struct powernow_k8_data {
* frequency is in kHz */
struct
cpufreq_frequency_table
*
powernow_table
;
#ifdef CONFIG_
X86_POWERNOW_K8_ACPI
#ifdef CONFIG_
ACPI_PROCESSOR
/* the acpi table needs to be kept. it's only available if ACPI was
* used to determine valid frequency/vid/fid states */
struct
acpi_processor_performance
acpi_data
;
...
...
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