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
6f50ab9a
Commit
6f50ab9a
authored
Mar 22, 2004
by
Len Brown
Committed by
Len Brown
Mar 22, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ACPI] delete POWER_OF_TWO array (Pavel Machek)
parent
e1981aa9
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
560 deletions
+1
-560
arch/x86_64/kernel/acpi/boot.c
arch/x86_64/kernel/acpi/boot.c
+0
-557
drivers/acpi/processor.c
drivers/acpi/processor.c
+1
-3
No files found.
arch/x86_64/kernel/acpi/boot.c
deleted
100644 → 0
View file @
e1981aa9
This diff is collapsed.
Click to expand it.
drivers/acpi/processor.c
View file @
6f50ab9a
...
...
@@ -67,8 +67,6 @@
#define C3_OVERHEAD 4
/* 1us (3.579 ticks per us) */
const
u32
POWER_OF_2
[]
=
{
1
,
2
,
4
,
8
,
16
,
32
,
64
};
#define ACPI_PROCESSOR_LIMIT_USER 0
#define ACPI_PROCESSOR_LIMIT_THERMAL 1
...
...
@@ -1489,7 +1487,7 @@ acpi_processor_get_throttling_info (
return_VALUE
(
0
);
}
pr
->
throttling
.
state_count
=
POWER_OF_2
[
acpi_fadt
.
duty_width
]
;
pr
->
throttling
.
state_count
=
1
<<
acpi_fadt
.
duty_width
;
/*
* Compute state values. Note that throttling displays a linear power/
...
...
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