Revision ae80a2de lib/bitops.c

View differences:

lib/bitops.c
17 17
 * representation consists of @n ones followed by zeroes.
18 18
 */
19 19
u32
20
u32_mkmask(unsigned n)
20
u32_mkmask(uint n)
21 21
{
22 22
  return n ? ~((1 << (32 - n)) - 1) : 0;
23 23
}

Also available in: Unified diff