On Tue, 2008-03-11 at 17:11 +0100, Johannes Berg wrote: > > include/linux/bitops.h | 40 ++++++++++++++++++++++++++++++++++++++++ > > > +++ b/include/linux/bitops.h > > @@ -65,6 +65,46 @@ static inline __u32 ror32(__u32 word, unsigned int shift) > > return (word >> shift) | (word << (32 - shift)); > > } > > > > +/** > > + * rol16 - rotate a 16-bit value left > > + * @word: value to rotate > > + * @shift: bits to roll > > + */ > > +static inline __u16 rol16(__u16 word, unsigned int shift) > > I don't think we can take that via wireless, and I think architectures > should be able to override this if they can optimise it (though the > compiler might be good enough...) OK, I'll get the common parts through Andrew and once that's in I'll resubmit the wireless parts. Harvey -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html