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
dae4850a
Commit
dae4850a
authored
Oct 20, 2004
by
Len Brown
Committed by
Len Brown
Oct 20, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ACPI] clarify #define ACPI_THERMAL_MODE_CRITICAL (Pavel Machek)
parent
fb251a7b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
drivers/acpi/thermal.c
drivers/acpi/thermal.c
+3
-3
No files found.
drivers/acpi/thermal.c
View file @
dae4850a
...
...
@@ -60,7 +60,7 @@
#define ACPI_THERMAL_NOTIFY_HOT 0xF1
#define ACPI_THERMAL_MODE_ACTIVE 0x00
#define ACPI_THERMAL_MODE_PASSIVE 0x01
#define ACPI_THERMAL_MODE_CR
T
0xff
#define ACPI_THERMAL_MODE_CR
ITICAL
0xff
#define ACPI_THERMAL_PATH_POWEROFF "/sbin/poweroff"
#define ACPI_THERMAL_MAX_ACTIVE 10
...
...
@@ -951,7 +951,7 @@ static int acpi_thermal_cooling_seq_show(struct seq_file *seq, void *offset)
seq_puts
(
seq
,
"<setting not supported>
\n
"
);
}
if
(
tz
->
cooling_mode
==
ACPI_THERMAL_MODE_CR
T
)
if
(
tz
->
cooling_mode
==
ACPI_THERMAL_MODE_CR
ITICAL
)
seq_printf
(
seq
,
"cooling mode: critical
\n
"
);
else
seq_printf
(
seq
,
"cooling mode: %s
\n
"
,
...
...
@@ -1260,7 +1260,7 @@ acpi_thermal_get_info (
tz
->
cooling_mode
=
ACPI_THERMAL_MODE_ACTIVE
;
}
else
{
/* _ACx and _PSV are optional, but _CRT is required */
tz
->
cooling_mode
=
ACPI_THERMAL_MODE_CR
T
;
tz
->
cooling_mode
=
ACPI_THERMAL_MODE_CR
ITICAL
;
}
}
...
...
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