diff options
-rw-r--r-- | Kernel/Lock.h | 1 | ||||
-rw-r--r-- | Kernel/Thread.cpp | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/Kernel/Lock.h b/Kernel/Lock.h index 1052966e07..82acb319a9 100644 --- a/Kernel/Lock.h +++ b/Kernel/Lock.h @@ -128,7 +128,6 @@ private: }; #define LOCKER(...) Locker locker(__VA_ARGS__) -#define RESTORE_LOCK(lock, ...) (lock).restore_lock(__VA_ARGS__) template<typename T> class Lockable { diff --git a/Kernel/Thread.cpp b/Kernel/Thread.cpp index eba49beb8b..9a80a6167b 100644 --- a/Kernel/Thread.cpp +++ b/Kernel/Thread.cpp @@ -310,7 +310,7 @@ void Thread::relock_process(LockMode previous_locked, u32 lock_count_to_restore) if (previous_locked != LockMode::Unlocked) { // We've unblocked, relock the process if needed and carry on. - RESTORE_LOCK(process().big_lock(), previous_locked, lock_count_to_restore); + process().big_lock().restore_lock(previous_locked, lock_count_to_restore); } } |