use spinlock macro

This commit is contained in:
Cloud Wu
2015-10-12 13:07:09 +08:00
parent 878110f9f7
commit d7e4e43a1b
2 changed files with 11 additions and 11 deletions

View File

@@ -34,6 +34,7 @@ spinlock_unlock(struct spinlock *lock) {
static inline void
spinlock_destroy(struct spinlock *lock) {
(void) lock;
}
#else