Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932403AbWA0Em7 (ORCPT ); Thu, 26 Jan 2006 23:42:59 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932405AbWA0Em7 (ORCPT ); Thu, 26 Jan 2006 23:42:59 -0500 Received: from ns.miraclelinux.com ([219.118.163.66]:54459 "EHLO mail01.miraclelinux.com") by vger.kernel.org with ESMTP id S932407AbWA0Em6 (ORCPT ); Thu, 26 Jan 2006 23:42:58 -0500 Date: Fri, 27 Jan 2006 13:43:04 +0900 To: "Bryan O'Sullivan" Cc: Grant Grundler , Linux Kernel Development , linux-ia64@vger.kernel.org Subject: Re: [PATCH 8/12] generic hweight{32,16,8}() Message-ID: <20060127044303.GA6594@miraclelinux.com> References: <20060125112625.GA18584@miraclelinux.com> <20060125113206.GD18584@miraclelinux.com> <20060125200250.GA26443@flint.arm.linux.org.uk> <20060125205907.GF9995@esmail.cup.hp.com> <20060126032713.GA9984@miraclelinux.com> <20060126033613.GG11138@miraclelinux.com> <1138301867.12632.71.camel@serpentine.pathscale.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1138301867.12632.71.camel@serpentine.pathscale.com> User-Agent: Mutt/1.5.9i From: mita@miraclelinux.com (Akinobu Mita) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1170 Lines: 31 On Thu, Jan 26, 2006 at 10:57:47AM -0800, Bryan O'Sullivan wrote: > How about putting each class of bitop into its own header file in > asm-generic, and getting the arches that need each one to include the > specific files it needs in its own bitops.h header? > I think it's better than adding many HAVE_ARCH_*_BITOPS. I will have 14 new headers. So I want to make new directory include/asm-generic/bitops/: include/asm-generic/bitops/atomic.h include/asm-generic/bitops/nonatomic.h include/asm-generic/bitops/__ffs.h include/asm-generic/bitops/ffz.h include/asm-generic/bitops/fls.h include/asm-generic/bitops/fls64.h include/asm-generic/bitops/find.h include/asm-generic/bitops/ffs.h include/asm-generic/bitops/sched-ffs.h include/asm-generic/bitops/hweight.h include/asm-generic/bitops/hweight64.h include/asm-generic/bitops/ext2-atomic.h include/asm-generic/bitops/ext2-nonatomic.h include/asm-generic/bitops/minix.h - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/