From mboxrd@z Thu Jan 1 00:00:00 1970 Received: with ECARTIS (v1.0.0; list linux-mips); Wed, 24 Nov 2010 06:56:54 +0100 (CET) Received: from 124x34x33x190.ap124.ftth.ucom.ne.jp ([124.34.33.190]:45441 "EHLO master.linux-sh.org" rhost-flags-OK-OK-OK-OK) by eddie.linux-mips.org with ESMTP id S1490997Ab0KXF4u (ORCPT ); Wed, 24 Nov 2010 06:56:50 +0100 Received: from localhost (unknown [127.0.0.1]) by master.linux-sh.org (Postfix) with ESMTP id 961D663987; Wed, 24 Nov 2010 05:55:59 +0000 (UTC) X-Virus-Scanned: amavisd-new at linux-sh.org Received: from master.linux-sh.org ([127.0.0.1]) by localhost (master.linux-sh.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AO+rqqbJ69ly; Wed, 24 Nov 2010 14:55:59 +0900 (JST) Received: by master.linux-sh.org (Postfix, from userid 500) id 4E3536398D; Wed, 24 Nov 2010 14:55:59 +0900 (JST) Date: Wed, 24 Nov 2010 14:55:59 +0900 From: Paul Mundt To: Akinobu Mita Cc: linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, Andrew Morton , Geert Uytterhoeven , Roman Zippel , Andreas Schwab , linux-m68k@lists.linux-m68k.org, Martin Schwidefsky , Heiko Carstens , linux390@de.ibm.com, linux-s390@vger.kernel.org, Yoshinori Sato , Michal Simek , microblaze-uclinux@itee.uq.edu.au, "David S. Miller" , sparclinux@vger.kernel.org, Hirokazu Takata , linux-m32r@ml.linux-m32r.org, Ralf Baechle , linux-mips@linux-mips.org, linux-sh@vger.kernel.org, Chris Zankel Subject: Re: [PATCH v3 22/22] bitops: remove minix bitops from asm/bitops.h Message-ID: <20101124055559.GC11705@linux-sh.org> References: <1290519504-3958-1-git-send-email-akinobu.mita@gmail.com> <1290519504-3958-23-git-send-email-akinobu.mita@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1290519504-3958-23-git-send-email-akinobu.mita@gmail.com> User-Agent: Mutt/1.5.13 (2006-08-11) Return-Path: X-Envelope-To: <"|/home/ecartis/ecartis -s linux-mips"> (uid 0) X-Orcpt: rfc822;linux-mips@linux-mips.org Original-Recipient: rfc822;linux-mips@linux-mips.org X-archive-position: 28504 X-ecartis-version: Ecartis v1.0.0 Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org X-original-sender: lethal@linux-sh.org Precedence: bulk X-list: linux-mips On Tue, Nov 23, 2010 at 10:38:24PM +0900, Akinobu Mita wrote: > minix bit operations are only used by minix filesystem and useless > by other modules. Because byte order of inode and block bitmaps is > defferent on each architecture like below: > > m68k: > big-endian 16bit indexed bitmaps > > h8300, microblaze, s390, sparc, m68knommu: > big-endian 32 or 64bit indexed bitmaps > > m32r, mips, sh, xtensa: > big-endian 32 or 64bit indexed bitmaps for big-endian mode > little-endian bitmaps for little-endian mode > > Others: > little-endian bitmaps > > In order to move minix bit operations from asm/bitops.h to > architecture independent code in minix file system, this provides two > config options. > > CONFIG_MINIX_FS_BIG_ENDIAN_16BIT_INDEXED is only selected by m68k. > CONFIG_MINIX_FS_NATIVE_ENDIAN is selected by the architectures which > use native byte order bitmaps (h8300, microblaze, s390, sparc, > m68knommu, m32r, mips, sh, xtensa). > The architectures which always use little-endian bitmaps do not select > these options. > > Finally, we can remove minix bit operations from asm/bitops.h for > all architectures. > > Signed-off-by: Akinobu Mita > Acked-by: Arnd Bergmann > Acked-by: Greg Ungerer > Cc: Geert Uytterhoeven > Cc: Roman Zippel > Cc: Andreas Schwab > Cc: linux-m68k@lists.linux-m68k.org > Cc: Martin Schwidefsky > Cc: Heiko Carstens > Cc: linux390@de.ibm.com > Cc: linux-s390@vger.kernel.org > Cc: Yoshinori Sato > Cc: Michal Simek > Cc: microblaze-uclinux@itee.uq.edu.au > Cc: "David S. Miller" > Cc: sparclinux@vger.kernel.org > Cc: Hirokazu Takata > Cc: linux-m32r@ml.linux-m32r.org > Cc: Ralf Baechle > Cc: linux-mips@linux-mips.org > Cc: Paul Mundt > Cc: linux-sh@vger.kernel.org > Cc: Chris Zankel Acked-by: Paul Mundt