From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932618AbZJ1HwO (ORCPT ); Wed, 28 Oct 2009 03:52:14 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932543AbZJ1HwN (ORCPT ); Wed, 28 Oct 2009 03:52:13 -0400 Received: from mx2.mail.elte.hu ([157.181.151.9]:51241 "EHLO mx2.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932517AbZJ1HwN (ORCPT ); Wed, 28 Oct 2009 03:52:13 -0400 Date: Wed, 28 Oct 2009 08:50:12 +0100 From: Ingo Molnar To: Stephen Rothwell Cc: Thomas Gleixner , "H. Peter Anvin" , Peter Zijlstra , linux-next@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: linux-next: tip tree build warning Message-ID: <20091028075012.GD19402@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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091028184851.504752ef.sfr@canb.auug.org.au> User-Agent: Mutt/1.5.19 (2009-01-05) X-ELTE-SpamScore: 0.0 X-ELTE-SpamLevel: X-ELTE-SpamCheck: no X-ELTE-SpamVersion: ELTE 2.0 X-ELTE-SpamCheck-Details: score=0.0 required=5.9 tests=none autolearn=no SpamAssassin version=3.2.5 _SUMMARY_ Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Stephen Rothwell wrote: > Hi all, > > On Wed, 28 Oct 2009 18:41:26 +1100 Stephen Rothwell wrote: > > > > static inline physid_mask_t default_apicid_to_cpu_present(int phys_apicid) > > { > > return physid_mask_of_physid(phys_apicid); > > } > > I just noticed that this function (default_apicid_to_cpu_present) is > declared "static inline in a header" but looks like it is only used by > assigning its address to a function pointer. Its only use for x86_64 > is in arch/x86/kernel/apic/apic_noop.c ... yes, that might be a real problem - returning the mask like that is messy. Thanks, will check. Ingo