Fix bitmask last-byte accounting
authorBarret Rhoden <brho@cs.berkeley.edu>
Mon, 22 Feb 2016 22:11:51 +0000 (17:11 -0500)
committerBarret Rhoden <brho@cs.berkeley.edu>
Mon, 2 May 2016 21:11:15 +0000 (17:11 -0400)
commitd991d4b7322e92baa15bd61aea2eefb1f0ee9a65
tree0ff30c4f32a6980dd413539d9b65b8b057f1444e
parent58b59f1a5b80c3a7548b60faa33615fa143c71a2
Fix bitmask last-byte accounting

This bug was hidden by bad formatting.  It looks like the _size-- is part
of the for loop, but it isn't.

The ancient bitmask code is pretty lousy.  The long-term fix is to just use
the Linux bitops, and throw away our old macros.

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
kern/arch/x86/bitmask.h