This patch changes the registration return codes for when CPUIDLE support is not compiled into the kernel. As a result, the ACPI processor driver will load properly even if CPUIDLE is unavailable. However, it may be possible to cleanup the ACPI processor driver further and eliminate some dead code paths. Please Apply, Adam Change Summary: cpuidle.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) --- --- a/include/linux/cpuidle.h 2007-08-21 17:33:17.000000000 -0400 +++ b/include/linux/cpuidle.h 2007-08-21 17:30:54.000000000 -0400 @@ -132,16 +132,16 @@ #else static inline int cpuidle_register_driver(struct cpuidle_driver *drv) -{return -EIO;} +{return 0;} static inline void cpuidle_unregister_driver(struct cpuidle_driver *drv) { } static inline int cpuidle_register_device(struct cpuidle_device *dev) -{return -EIO;} +{return 0;} static inline void cpuidle_unregister_device(struct cpuidle_device *dev) { } static inline void cpuidle_pause_and_lock(void) { } static inline void cpuidle_resume_and_unlock(void) { } static inline int cpuidle_enable_device(struct cpuidle_device *dev) -{return -EIO;} +{return 0;} static inline void cpuidle_disable_device(struct cpuidle_device *dev) { } #endif _______________________________________________ linux-pm mailing list linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/linux-pm