The patch titled git-acpi-fix-cpuidle-borkage 2 has been removed from the -mm tree. Its filename was git-acpi-fix-cpuidle-borkage-2.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ Subject: git-acpi-fix-cpuidle-borkage 2 From: Venkatesh Pallipadi <venkatesh.pallipadi@xxxxxxxxx> Fix the compile issues when CPU_IDLE is not configured. Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@xxxxxxxxx> Cc: Adam Belay <abelay@xxxxxxxxxx> Cc: Shaohua Li <shaohua.li@xxxxxxxxx> Cc: Len Brown <len.brown@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- include/linux/cpuidle.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff -puN include/linux/cpuidle.h~git-acpi-fix-cpuidle-borkage-2 include/linux/cpuidle.h --- a/include/linux/cpuidle.h~git-acpi-fix-cpuidle-borkage-2 +++ a/include/linux/cpuidle.h @@ -130,10 +130,21 @@ struct cpuidle_driver { struct module *owner; }; +#ifdef CONFIG_CPU_IDLE + extern int cpuidle_register_driver(struct cpuidle_driver *drv); extern void cpuidle_unregister_driver(struct cpuidle_driver *drv); extern int cpuidle_force_redetect(struct cpuidle_device *dev); +#else + +static inline int cpuidle_register_driver(struct cpuidle_driver *drv) +{return 0;} +static inline void cpuidle_unregister_driver(struct cpuidle_driver *drv) { } +static inline int cpuidle_force_redetect(struct cpuidle_device *dev) +{return 0;} + +#endif /****************************** * CPUIDLE GOVERNOR INTERFACE * @@ -153,8 +164,20 @@ struct cpuidle_governor { struct module *owner; }; +#ifdef CONFIG_CPU_IDLE + extern int cpuidle_register_governor(struct cpuidle_governor *gov); extern void cpuidle_unregister_governor(struct cpuidle_governor *gov); extern int cpuidle_get_bm_activity(void); +#else + +static inline int cpuidle_register_governor(struct cpuidle_governor *gov) +{return 0;} +static inline void cpuidle_unregister_governor(struct cpuidle_governor *gov) { } +static inline int cpuidle_get_bm_activity(void) +{return 0;} + +#endif + #endif /* _LINUX_CPUIDLE_H */ _ Patches currently in -mm which might be from venkatesh.pallipadi@xxxxxxxxx are git-acpi.patch workqueue-fix-freezeable-workqueues-implementation.patch workqueue-fix-flush_workqueue-vs-cpu_dead-race.patch workqueue-dont-clear-cwq-thread-until-it-exits.patch workqueue-dont-migrate-pending-works-from-the-dead-cpu.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html