Minor changes to allocb
authorBarret Rhoden <brho@cs.berkeley.edu>
Fri, 17 Jan 2014 18:25:30 +0000 (10:25 -0800)
committerBarret Rhoden <brho@cs.berkeley.edu>
Fri, 17 Jan 2014 18:25:30 +0000 (10:25 -0800)
commit7cc92d4a763b2e7a6de3e408f5f3ba7a48ae7a6a
treea8fd667d02af36229efda522b8b5473a33e3c223
parent03f9465dec067af548dad86f031d81b6ea13fb99
Minor changes to allocb

Got rid of the spinlock (used an atomic).

Used BLOCKALIGN instead of BY2V, which is in an inferno header
somewhere.

And had some leftovers from a lindent run.
kern/src/ns/allocb.c