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
9b713154
Commit
9b713154
authored
Feb 07, 2008
by
Len Brown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "cpuidle: build fix for non-x86"
This reverts commit
f7573970
. which ironically broke the ia64 build
parent
81e242d0
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
17 deletions
+1
-17
arch/x86/Kconfig
arch/x86/Kconfig
+0
-3
drivers/cpuidle/cpuidle.c
drivers/cpuidle/cpuidle.c
+1
-1
include/linux/cpuidle.h
include/linux/cpuidle.h
+0
-13
No files found.
arch/x86/Kconfig
View file @
9b713154
...
...
@@ -98,9 +98,6 @@ config ARCH_HAS_ILOG2_U32
config ARCH_HAS_ILOG2_U64
def_bool n
config ARCH_HAS_CPU_IDLE_WAIT
def_bool y
config GENERIC_CALIBRATE_DELAY
def_bool y
...
...
drivers/cpuidle/cpuidle.c
View file @
9b713154
...
...
@@ -83,7 +83,7 @@ void cpuidle_uninstall_idle_handler(void)
{
if
(
enabled_devices
&&
(
pm_idle
!=
pm_idle_old
))
{
pm_idle
=
pm_idle_old
;
cpu
idle_kick_cpus
();
cpu
_idle_wait
();
}
}
...
...
include/linux/cpuidle.h
View file @
9b713154
...
...
@@ -73,19 +73,6 @@ cpuidle_set_statedata(struct cpuidle_state *state, void *data)
state
->
driver_data
=
data
;
}
#ifdef CONFIG_SMP
#ifdef CONFIG_ARCH_HAS_CPU_IDLE_WAIT
static
inline
void
cpuidle_kick_cpus
(
void
)
{
cpu_idle_wait
();
}
#else
/* !CONFIG_ARCH_HAS_CPU_IDLE_WAIT */
#error "Arch needs cpu_idle_wait() equivalent here"
#endif
/* !CONFIG_ARCH_HAS_CPU_IDLE_WAIT */
#else
/* !CONFIG_SMP */
static
inline
void
cpuidle_kick_cpus
(
void
)
{}
#endif
/* !CONFIG_SMP */
struct
cpuidle_state_kobj
{
struct
cpuidle_state
*
state
;
struct
completion
kobj_unregister
;
...
...
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