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
d247632c
Commit
d247632c
authored
Jan 12, 2011
by
Len Brown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cpuidle: delete NOP CPUIDLE_FLAG_POLL
it serves no purpose Signed-off-by:
Len Brown
<
len.brown@intel.com
>
parent
0aae9f92
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
drivers/cpuidle/cpuidle.c
drivers/cpuidle/cpuidle.c
+1
-1
include/linux/cpuidle.h
include/linux/cpuidle.h
+0
-1
No files found.
drivers/cpuidle/cpuidle.c
View file @
d247632c
...
...
@@ -186,7 +186,7 @@ static void poll_idle_init(struct cpuidle_device *dev)
state
->
exit_latency
=
0
;
state
->
target_residency
=
0
;
state
->
power_usage
=
-
1
;
state
->
flags
=
CPUIDLE_FLAG_POLL
;
state
->
flags
=
0
;
state
->
enter
=
poll_idle
;
}
#else
...
...
include/linux/cpuidle.h
View file @
d247632c
...
...
@@ -48,7 +48,6 @@ struct cpuidle_state {
/* Idle State Flags */
#define CPUIDLE_FLAG_TIME_VALID (0x01)
/* is residency time measurable? */
#define CPUIDLE_FLAG_CHECK_BM (0x02)
/* BM activity will exit state */
#define CPUIDLE_FLAG_POLL (0x10)
/* no latency, no savings */
#define CPUIDLE_FLAG_SHALLOW (0x20)
/* low latency, minimal savings */
#define CPUIDLE_FLAG_BALANCED (0x40)
/* medium latency, moderate savings */
#define CPUIDLE_FLAG_DEEP (0x80)
/* high latency, large savings */
...
...
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