From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754440AbZKIILE (ORCPT ); Mon, 9 Nov 2009 03:11:04 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754451AbZKIILD (ORCPT ); Mon, 9 Nov 2009 03:11:03 -0500 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 Date: Mon, 9 Nov 2009 09:10:38 +0100 From: Ingo Molnar 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 Subject: Re: linux-next: tip tree build warning 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 Content-Disposition: inline In-Reply-To: <20091108213055.GA13555@lenovo> User-Agent: Mutt/1.5.20 (2009-08-17) X-ELTE-SpamScore: -1.5 X-ELTE-SpamLevel: X-ELTE-SpamCheck: no X-ELTE-SpamVersion: ELTE 2.0 X-ELTE-SpamCheck-Details: score=-1.5 required=5.9 tests=BAYES_00 autolearn=no SpamAssassin version=3.2.5 -1.5 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * 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