Messages in this thread | | | Date | Fri, 02 Mar 2012 09:47:04 +0100 | From | Richard Weinberger <> | Subject | Re: [PATCH 2/5] OpenRISC: Use generic bitops.h |
| |
Am 02.03.2012 07:50, schrieb Jonas Bonn: > On Fri, 2012-03-02 at 01:55 +0100, Richard Weinberger wrote: >> There is no need to reinvent the wheel. > > NAK... we have optimized versions for some of these operations so the > generic header isn't right for us.
Sorry, I missed that.
> Have a look at arch/openrisc/asm/include/bitops.h to see which functions > we override with accelerated versions.
Okay, but some operations are missing in your bitopts.h. Like test_bit_le() or find_next_zero_bit_le().
#include <asm-generic/bitops/le.h> Should to the job...
Thanks, //richard
[unhandled content-type:application/pgp-signature] | |