Re: [RFC PATCH 1/3] cpuidle: split cpuidle_idle_call main function into functions

2014-01-31 Thread Daniel Lezcano
On 01/30/2014 08:39 PM, Nicolas Pitre wrote: On Thu, 30 Jan 2014, Daniel Lezcano wrote: /** + * cpuidle_select - ask the cpuidle framework to choose an idle state + * + * @drv: the cpuidle driver + * @dev: the cpuidle device + * + * Returns the index of the idle state. On error it returns: +

Re: [RFC PATCH 1/3] cpuidle: split cpuidle_idle_call main function into functions

2014-01-30 Thread Nicolas Pitre
On Thu, 30 Jan 2014, Daniel Lezcano wrote: > /** > + * cpuidle_select - ask the cpuidle framework to choose an idle state > + * > + * @drv: the cpuidle driver > + * @dev: the cpuidle device > + * > + * Returns the index of the idle state. On error it returns: > + * -NODEV : the cpuidle framework

Re: [RFC PATCH 1/3] cpuidle: split cpuidle_idle_call main function into functions

2014-01-30 Thread Daniel Lezcano
On 01/30/2014 04:27 PM, Peter Zijlstra wrote: On Thu, Jan 30, 2014 at 03:09:20PM +0100, Daniel Lezcano wrote: +EXPORT_SYMBOL(cpuidle_select); +EXPORT_SYMBOL(cpuidle_enter); +EXPORT_SYMBOL(cpuidle_reflect); $ grep EXPORT_SYMBOL drivers/cpuidle/cpuidle.c EXPORT_SYMBOL_GPL(cpuidle_pause_and_lock)

Re: [RFC PATCH 1/3] cpuidle: split cpuidle_idle_call main function into functions

2014-01-30 Thread Peter Zijlstra
On Thu, Jan 30, 2014 at 03:09:20PM +0100, Daniel Lezcano wrote: > +EXPORT_SYMBOL(cpuidle_select); > +EXPORT_SYMBOL(cpuidle_enter); > +EXPORT_SYMBOL(cpuidle_reflect); $ grep EXPORT_SYMBOL drivers/cpuidle/cpuidle.c EXPORT_SYMBOL_GPL(cpuidle_pause_and_lock); EXPORT_SYMBOL_GPL(cpuidle_resume_and_unloc