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
a51a69c0
Commit
a51a69c0
authored
Jun 29, 2006
by
Len Brown
Browse files
Options
Browse Files
Download
Plain Diff
Pull trivial into release branch
parents
49fee981
f831335d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
drivers/acpi/processor_idle.c
drivers/acpi/processor_idle.c
+7
-2
No files found.
drivers/acpi/processor_idle.c
View file @
a51a69c0
...
...
@@ -97,6 +97,9 @@ static int set_max_cstate(struct dmi_system_id *id)
/* Actually this shouldn't be __cpuinitdata, would be better to fix the
callers to only run once -AK */
static
struct
dmi_system_id
__cpuinitdata
processor_power_dmi_table
[]
=
{
{
set_max_cstate
,
"IBM ThinkPad R40e"
,
{
DMI_MATCH
(
DMI_BIOS_VENDOR
,
"IBM"
),
DMI_MATCH
(
DMI_BIOS_VERSION
,
"1SET70WW"
)},
(
void
*
)
1
},
{
set_max_cstate
,
"IBM ThinkPad R40e"
,
{
DMI_MATCH
(
DMI_BIOS_VENDOR
,
"IBM"
),
DMI_MATCH
(
DMI_BIOS_VERSION
,
"1SET60WW"
)},
(
void
*
)
1
},
...
...
@@ -365,7 +368,9 @@ static void acpi_processor_idle(void)
t1
=
inl
(
acpi_fadt
.
xpm_tmr_blk
.
address
);
/* Invoke C2 */
inb
(
cx
->
address
);
/* Dummy op - must do something useless after P_LVL2 read */
/* Dummy wait op - must do something useless after P_LVL2 read
because chipsets cannot guarantee that STPCLK# signal
gets asserted in time to freeze execution properly. */
t2
=
inl
(
acpi_fadt
.
xpm_tmr_blk
.
address
);
/* Get end time (ticks) */
t2
=
inl
(
acpi_fadt
.
xpm_tmr_blk
.
address
);
...
...
@@ -403,7 +408,7 @@ static void acpi_processor_idle(void)
t1
=
inl
(
acpi_fadt
.
xpm_tmr_blk
.
address
);
/* Invoke C3 */
inb
(
cx
->
address
);
/* Dummy
op - must do something useless after P_LVL3 read
*/
/* Dummy
wait op (see above)
*/
t2
=
inl
(
acpi_fadt
.
xpm_tmr_blk
.
address
);
/* Get end time (ticks) */
t2
=
inl
(
acpi_fadt
.
xpm_tmr_blk
.
address
);
...
...
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