1
0
Files
linux/arch/mips/include/asm
Akinobu Mita 61f2e7b0f4 bitops: remove minix bitops from asm/bitops.h
minix bit operations are only used by minix filesystem and useless by
other modules.  Because byte order of inode and block bitmaps is different
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 filesystem, 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 <akinobu.mita@gmail.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Greg Ungerer <gerg@uclinux.org>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Roman Zippel <zippel@linux-m68k.org>
Cc: Andreas Schwab <schwab@linux-m68k.org>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
Cc: Michal Simek <monstr@monstr.eu>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Hirokazu Takata <takata@linux-m32r.org>
Acked-by: Ralf Baechle <ralf@linux-mips.org>
Acked-by: Paul Mundt <lethal@linux-sh.org>
Cc: Chris Zankel <chris@zankel.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2011-03-23 19:46:22 -07:00
..
2010-02-27 12:53:30 +01:00
2010-10-27 18:03:17 -07:00
2010-02-27 12:53:14 +01:00
2010-02-27 12:53:42 +01:00
2010-08-05 13:26:29 +01:00
2009-12-05 09:10:12 -08:00
2011-01-18 19:30:28 +01:00
2010-02-27 12:53:27 +01:00
2009-12-17 01:57:32 +00:00
2010-10-26 16:52:08 -07:00
2010-12-16 18:11:01 +00:00
2010-10-21 11:10:10 -06:00
2010-10-07 14:08:55 +01:00
2010-08-05 13:26:29 +01:00
2010-08-05 13:26:29 +01:00
2010-06-09 11:12:36 +02:00
2011-01-13 17:32:47 -08:00
2010-04-12 17:26:14 +01:00
2010-02-27 12:53:14 +01:00
2010-02-27 12:53:14 +01:00
2010-10-04 18:33:55 +01:00
2010-02-27 12:53:27 +01:00
2010-10-26 16:52:08 -07:00
2010-02-27 12:53:27 +01:00
2010-02-27 12:53:14 +01:00
2010-02-27 12:53:42 +01:00
2010-02-27 12:53:42 +01:00
2010-08-09 16:48:44 -04:00
2010-02-27 12:53:27 +01:00
2010-04-12 17:26:14 +01:00