From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760657AbYDZRe1 (ORCPT ); Sat, 26 Apr 2008 13:34:27 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751501AbYDZReS (ORCPT ); Sat, 26 Apr 2008 13:34:18 -0400 Received: from pasmtpb.tele.dk ([80.160.77.98]:60961 "EHLO pasmtpB.tele.dk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751493AbYDZReS (ORCPT ); Sat, 26 Apr 2008 13:34:18 -0400 Date: Sat, 26 Apr 2008 19:34:50 +0200 From: Sam Ravnborg To: Linus Torvalds Cc: Ingo Molnar , Linux Kernel Mailing List , Andrew Morton , Thomas Gleixner , "H. Peter Anvin" , Alexander van Heukelum Subject: Re: [git pull] generic bitops, take 2 Message-ID: <20080426173450.GB29451@uranus.ravnborg.org> References: <20080424215739.GA32378@elte.hu> <20080426151516.GA27894@elte.hu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Apr 26, 2008 at 10:03:31AM -0700, Linus Torvalds wrote: > > > On Sat, 26 Apr 2008, Ingo Molnar wrote: > > > > i've added Alexander's patch that does the cleanup suggested by you > > Well.. Not really: > > > diff --git a/arch/um/Kconfig.x86_64 b/arch/um/Kconfig.x86_64 > > index 3fbe69e..7a75043 100644 > > --- a/arch/um/Kconfig.x86_64 > > +++ b/arch/um/Kconfig.x86_64 > > @@ -27,6 +27,14 @@ config SMP_BROKEN > > bool > > default y > > > > +config GENERIC_FIND_FIRST_BIT > > + bool > > + default y > > + > > +config GENERIC_FIND_NEXT_BIT > > + bool > > + default y > > + > > It still declares this GENERIC_FIND_*_BIT thing separately for UM. It would be nice if this could follow the sample outlined in Documentation/kbuild/kconfig-language.txt. See the section about HAVE_ Basically we should only define the config symbol once in all the Kconfig files and where we then want to use this function we should select the config symbol. Sam