From: Andi Kleen Subject: Re: [RFC PATCH 22/35] subarch suport for idle loop (NO_IDLE_HZ for Xen) Date: Tue, 9 May 2006 15:21:19 +0200 Message-ID: <200605091521.19910.ak@suse.de> References: <20060509084945.373541000@sous-sol.org> <20060509085156.694312000@sous-sol.org> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20060509085156.694312000@sous-sol.org> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: virtualization@lists.osdl.org Cc: Chris Wright , Ian Pratt , xen-devel@lists.xensource.com, linux-kernel@vger.kernel.org List-Id: xen-devel@lists.xenproject.org > +extern void stop_hz_timer(void); > +extern void start_hz_timer(void); > + > +void xen_idle(void); > + > static char * __init machine_specific_memory_setup(void) > { > unsigned long max_pfn = xen_start_info->nr_pages; > @@ -65,4 +70,23 @@ static void __init machine_specific_arch > console_use_vt = 0; > conswitchp = NULL; > } > + > + pm_idle = xen_idle; > +} > + > +void xen_idle(void) I think that should be in some .c file, not a .h Probably applies to more of your functions too. -Andi