> 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...) johannes
Attachment:
signature.asc
Description: This is a digitally signed message part