diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2008-04-29 12:01:02 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-29 08:11:16 -0700 |
commit | fee4b19fb3f28d17c0b9f9ea0668db5275697178 (patch) | |
tree | 0d7c34ef39cdac5a0c7f89376e85cc3ef621a7da /include/linux/bio.h | |
parent | 8972331292753c89dbdd10b175e999ce78dc3be7 (diff) | |
download | op-kernel-dev-fee4b19fb3f28d17c0b9f9ea0668db5275697178.zip op-kernel-dev-fee4b19fb3f28d17c0b9f9ea0668db5275697178.tar.gz |
bitops: remove "optimizations"
The mapsize optimizations which were moved from x86 to the generic
code in commit 64970b68d2b3ed32b964b0b30b1b98518fde388e increased the
binary size on non x86 architectures.
Looking into the real effects of the "optimizations" it turned out
that they are not used in find_next_bit() and find_next_zero_bit().
The ones in find_first_bit() and find_first_zero_bit() are used in a
couple of places but none of them is a real hot path.
Remove the "optimizations" all together and call the library functions
unconditionally.
Boot-tested on x86 and compile tested on every cross compiler I have.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/bio.h')
0 files changed, 0 insertions, 0 deletions