]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[IA64] Use asm-generic/bitops/builtin-ffs.h
authorAkinobu Mita <akinobu.mita@gmail.com>
Wed, 14 Aug 2013 13:06:59 +0000 (22:06 +0900)
committerTony Luck <tony.luck@intel.com>
Mon, 26 Aug 2013 21:22:58 +0000 (14:22 -0700)
commit44fd81fe7eb8029a37ec83f15d4ef3585dd81bb6
treea9a084e97933b6c140ef421b9fc882238745f8fd
parentab10596f8a45cf19f5482af2a64f4bd4e5bf88c0
[IA64] Use asm-generic/bitops/builtin-ffs.h

The definition of ffs() for ia64 is almost the same as
asm-generic/bitops/builtin-ffs.h.  The only difference is whether it is
defined as inline function or macro function.  So this switches to use
the header (both to reduce amount of arch specific code, and because
inline functions provide type-checking that macros do not).

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/include/asm/bitops.h