From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ingo Molnar Subject: Re: [PATCH] x86: fix idle notifier not being called in CONFIG_X86_32 Date: Wed, 6 Mar 2013 11:18:18 +0100 Message-ID: <20130306101818.GA6587@gmail.com> References: <1362375673-29287-1-git-send-email-illyas.mansoor@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mail-ee0-f49.google.com ([74.125.83.49]:64517 "EHLO mail-ee0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752803Ab3CFKSW (ORCPT ); Wed, 6 Mar 2013 05:18:22 -0500 Content-Disposition: inline In-Reply-To: <1362375673-29287-1-git-send-email-illyas.mansoor@intel.com> Sender: linux-pm-owner@vger.kernel.org List-Id: linux-pm@vger.kernel.org To: Illyas Mansoor Cc: Linux Kernel , Linux PM , Frederic Weisbecker , Ingo Molnar , X86 , Len Brown , Thomas Gleixner , Matthew Garrett , Tejun Heo , "Paul E. McKenney" , "Rudramuni, Vishwesh M" , richard@nod.at, josh@joshtriplett.org, "Kumar P, Mahesh" , "Sil, Dyut K" * 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 exit_idle(void) { } > static inline void __exit_idle(void) { } > endif > > Make this work on X86_32 platforms by > removing the restriction for X86_64 What will they be used for? Thanks, Ingo