Fix tracking of lock call sites
authorBarret Rhoden <brho@cs.berkeley.edu>
Thu, 19 Jul 2018 18:49:00 +0000 (14:49 -0400)
committerBarret Rhoden <brho@cs.berkeley.edu>
Thu, 19 Jul 2018 18:49:00 +0000 (14:49 -0400)
commit20f634615cf93f80d77529bf97109891f481566b
tree7503738064802a21e9d902fb93e368b2b0454364
parentbf9a9ba0d6af68ec3f4a63bf9c5559050f1552cc
Fix tracking of lock call sites

If we don't inline post_lock(), the call site for a lock is just
spin_lock(), which is not what we want.

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
kern/src/atomic.c