Move busy_wait() to asm.hpp

This commit is contained in:
Nekotekina 2020-12-18 09:47:08 +03:00
parent 908465b274
commit 4cfa9b11f3
8 changed files with 21 additions and 8 deletions

View file

@ -1,5 +1,7 @@
#include "mutex.h"
#include "util/asm.hpp"
void shared_mutex::imp_lock_shared(u32 val)
{
ensure(val < c_err); // "shared_mutex underflow"