RE: [PATCH] x86: fix idle notifier not being called in CONFIG_X86_32

2013-03-06 Thread Mansoor, Illyas
> -Original Message- > From: Ingo Molnar [mailto:mingo.kernel@gmail.com] On Behalf Of Ingo > Molnar > Sent: Wednesday, March 06, 2013 4:06 PM > To: Mansoor, Illyas; Peter Zijlstra > Cc: Linux Kernel; Linux PM; Frederic Weisbecker; Ingo Molnar; X86; Len Brown; > Tho

RE: [PATCH] x86: fix idle notifier not being called in CONFIG_X86_32

2013-03-06 Thread Mansoor, Illyas
> * Illyas Mansoor wrote: > > > Idle notifier not registered if CONFIG_X86_32 is defined, those > > callbacks are empty for X86_32 platform. > > > > ifdef CONFIG_X86_64 > > void enter_idle(void); > > void exit_idle(void); > > else > > static inline void enter_idle(void) { } static inline void

RE: [PATCH] x86: fix idle notifier not being called in CONFIG_X86_32

2013-03-06 Thread Mansoor, Illyas
* Illyas Mansoor illyas.mans...@intel.com wrote: Idle notifier not registered if CONFIG_X86_32 is defined, those callbacks are empty for X86_32 platform. ifdef CONFIG_X86_64 void enter_idle(void); void exit_idle(void); else static inline void enter_idle(void) { } static inline

RE: [PATCH] x86: fix idle notifier not being called in CONFIG_X86_32

2013-03-06 Thread Mansoor, Illyas
-Original Message- From: Ingo Molnar [mailto:mingo.kernel@gmail.com] On Behalf Of Ingo Molnar Sent: Wednesday, March 06, 2013 4:06 PM To: Mansoor, Illyas; Peter Zijlstra Cc: Linux Kernel; Linux PM; Frederic Weisbecker; Ingo Molnar; X86; Len Brown; Thomas Gleixner; Matthew