nix: Fixes lock and atomic_t initialization
authorBarret Rhoden <brho@cs.berkeley.edu>
Wed, 7 Jan 2015 15:10:24 +0000 (10:10 -0500)
committerBarret Rhoden <brho@cs.berkeley.edu>
Wed, 7 Jan 2015 15:10:24 +0000 (10:10 -0500)
commit39f34aa84c6f0a60c214dff52a9fae9c5b7487eb
treef8a714c9d32b0bb940802ccf717a152af0ae6fed
parent2e1dde9235898b3d56585b4b7b5dd3e85915e51e
nix: Fixes lock and atomic_t initialization

Apparently you can attempt to spinlock_init an atomic_t, since the atomic_t is
a void*.  You'll get a nasty PF though.
kern/drivers/dev/nix.c