From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul Mundt Subject: Re: [PATCH v3 22/22] bitops: remove minix bitops from asm/bitops.h Date: Wed, 24 Nov 2010 14:55:59 +0900 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 Return-path: Received: from 124x34x33x190.ap124.ftth.ucom.ne.jp ([124.34.33.190]:60880 "EHLO master.linux-sh.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750941Ab0KXF4q (ORCPT ); Wed, 24 Nov 2010 00:56:46 -0500 Content-Disposition: inline In-Reply-To: <1290519504-3958-23-git-send-email-akinobu.mita@gmail.com> Sender: linux-arch-owner@vger.kernel.org List-ID: 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 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