]> Git Repo - linux.git/commit - lib/find_bit.c
asm-generic: change little-endian bitops to take any pointer types
authorAkinobu Mita <[email protected]>
Wed, 23 Mar 2011 23:41:50 +0000 (16:41 -0700)
committerLinus Torvalds <[email protected]>
Thu, 24 Mar 2011 02:46:12 +0000 (19:46 -0700)
commita56560b3b233238e85205d4e8d7bded904ac2306
tree3965be2ab5fcf6c70fc09604861c14ef554915e8
parentc4945b9ed472e8796e352f10df9dbc2841ba7b61
asm-generic: change little-endian bitops to take any pointer types

This makes the little-endian bitops take any pointer types by changing the
prototypes and adding casts in the preprocessor macros.

That would seem to at least make all the filesystem code happier, and they
can continue to do just something like

  #define ext2_set_bit __test_and_set_bit_le

(or whatever the exact sequence ends up being).

Signed-off-by: Akinobu Mita <[email protected]>
Cc: Arnd Bergmann <[email protected]>
Cc: Richard Henderson <[email protected]>
Cc: Ivan Kokshaysky <[email protected]>
Cc: Mikael Starvik <[email protected]>
Cc: David Howells <[email protected]>
Cc: Yoshinori Sato <[email protected]>
Cc: "Luck, Tony" <[email protected]>
Cc: Ralf Baechle <[email protected]>
Cc: Kyle McMartin <[email protected]>
Cc: Matthew Wilcox <[email protected]>
Cc: Grant Grundler <[email protected]>
Cc: Paul Mundt <[email protected]>
Cc: Kazumoto Kojima <[email protected]>
Cc: Hirokazu Takata <[email protected]>
Cc: "David S. Miller" <[email protected]>
Cc: Chris Zankel <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Hans-Christian Egtvedt <[email protected]>
Cc: "H. Peter Anvin" <[email protected]>
Cc: Benjamin Herrenschmidt <[email protected]>
Cc: Paul Mackerras <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
arch/powerpc/include/asm/bitops.h
include/asm-generic/bitops/le.h
lib/find_next_bit.c
This page took 0.061442 seconds and 4 git commands to generate.