From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933094AbXCBIa6 (ORCPT ); Fri, 2 Mar 2007 03:30:58 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S933104AbXCBIa6 (ORCPT ); Fri, 2 Mar 2007 03:30:58 -0500 Received: from serv1.oss.ntt.co.jp ([222.151.198.98]:47083 "EHLO serv1.oss.ntt.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933094AbXCBIa5 (ORCPT ); Fri, 2 Mar 2007 03:30:57 -0500 Subject: Re: [PATCH 5/5] Move definition of hard_smp_processor_id to asm/smp.h - alpha, m32r, powerpc, s390, sparc, sparc64, um From: Fernando Luis =?ISO-8859-1?Q?V=E1zquez?= Cao To: Heiko Carstens Cc: Linux Kernel Mailing List , fastboot@lists.osdl.org, ebiederm@xmission.com, ak@suse.de, akpm@linux-foundation.org, judith@linux-foundation.org In-Reply-To: <20070301090348.GA8405@osiris.boeblingen.de.ibm.com> References: <1172733503.1498.275.camel@sebastian.intellilink.co.jp> <20070301090348.GA8405@osiris.boeblingen.de.ibm.com> Content-Type: text/plain; charset=utf-8 Organization: NTT Open Source Software Center Date: Fri, 02 Mar 2007 17:31:21 +0900 Message-Id: <1172824281.6646.3.camel@sebastian.intellilink.co.jp> Mime-Version: 1.0 X-Mailer: Evolution 2.6.3 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2007-03-01 at 10:03 +0100, Heiko Carstens wrote: > On Thu, Mar 01, 2007 at 04:18:23PM +0900, Fernando Luis Vázquez Cao wrote: > > Move definition of hard_smp_processor_id to asm/smp.h on alpha, m32r, > > powerpc, s390, sparc, sparc64, and um architectures. > > > > Signed-off-by: Fernando Luis Vazquez Cao > > --- > > > > diff -urNp linux-2.6.21-rc2/include/asm-alpha/smp.h linux-2.6.21-rc2-hwcpuid/include/asm-alpha/smp.h > > --- linux-2.6.21-rc2/include/asm-alpha/smp.h 2007-02-05 03:44:54.000000000 +0900 > > +++ linux-2.6.21-rc2-hwcpuid/include/asm-alpha/smp.h 2007-03-07 13:34:14.000000000 +0900 > > @@ -51,6 +51,7 @@ int smp_call_function_on_cpu(void (*func > > > > #else /* CONFIG_SMP */ > > > > +#define hard_smp_processor_id() 0 > > #define smp_call_function_on_cpu(func,info,retry,wait,cpu) ({ 0; }) > > > > #endif /* CONFIG_SMP */ > > /me thinks you should merge this patch with patch 1. Otherwise there is no > hard_smp_processor_id() defined on any architecture if only patch 1 is > applied. That would break a git bisect search. Hi Heiko, Thank you for reviewing the patch-set. The patches have already been merged in Andrew's tree but I will take your advice into account when submitting new patches. I certainly would not like to break bisect searches. Fernando