[RFC PATCH v4 2/9] CPU hotplug: Convert preprocessor macros to static inline functions

2012-12-11 Thread Srivatsa S. Bhat
On 12/05/2012 06:10 AM, Andrew Morton wrote: "static inline C functions would be preferred if possible. Feel free to fix up the wrong crufty surrounding code as well ;-)" Convert the macros in the CPU hotplug code to static inline C functions. Signed-off-by: Srivatsa S. Bhat ---

[RFC PATCH v4 2/9] CPU hotplug: Convert preprocessor macros to static inline functions

2012-12-11 Thread Srivatsa S. Bhat
On 12/05/2012 06:10 AM, Andrew Morton wrote: static inline C functions would be preferred if possible. Feel free to fix up the wrong crufty surrounding code as well ;-) Convert the macros in the CPU hotplug code to static inline C functions. Signed-off-by: Srivatsa S. Bhat