From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ingo Molnar Subject: Re: linux-next: tip tree build warning Date: Mon, 9 Nov 2009 09:10:38 +0100 Message-ID: <20091109081038.GJ453@elte.hu> References: <20091028181443.50a09dbb.sfr@canb.auug.org.au> <20091028073145.GD6353@elte.hu> <20091028184126.b5f52d1b.sfr@canb.auug.org.au> <20091028184851.504752ef.sfr@canb.auug.org.au> <20091028075012.GD19402@elte.hu> <20091108213055.GA13555@lenovo> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mx2.mail.elte.hu ([157.181.151.9]:60176 "EHLO mx2.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754132AbZKIILC (ORCPT ); Mon, 9 Nov 2009 03:11:02 -0500 Content-Disposition: inline In-Reply-To: <20091108213055.GA13555@lenovo> Sender: linux-next-owner@vger.kernel.org List-ID: To: Cyrill Gorcunov Cc: Stephen Rothwell , Thomas Gleixner , "H. Peter Anvin" , Peter Zijlstra , linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, "Maciej W. Rozycki" , Yinghai Lu * Cyrill Gorcunov wrote: > +++ linux-2.6.git/arch/x86/include/asm/apic.h > @@ -310,7 +310,7 @@ struct apic { > int (*apicid_to_node)(int logical_apicid); > int (*cpu_to_logical_apicid)(int cpu); > int (*cpu_present_to_apicid)(int mps_cpu); > - physid_mask_t (*apicid_to_cpu_present)(int phys_apicid); > + void (*apicid_to_cpu_present)(int phys_apicid, physid_mask_t *map); Yep, passing masks by reference is unconditonal goodness - that's the cleanup we want. Mind sending a delta patch against tip:master? Ingo