mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 03:17:35 +00:00
Kernel: Remove the now defunct RESTORE_LOCK(..)
macro.
This commit is contained in:
parent
04156d53ca
commit
0d5827f865
2 changed files with 1 additions and 2 deletions
|
@ -128,7 +128,6 @@ private:
|
||||||
};
|
};
|
||||||
|
|
||||||
#define LOCKER(...) Locker locker(__VA_ARGS__)
|
#define LOCKER(...) Locker locker(__VA_ARGS__)
|
||||||
#define RESTORE_LOCK(lock, ...) (lock).restore_lock(__VA_ARGS__)
|
|
||||||
|
|
||||||
template<typename T>
|
template<typename T>
|
||||||
class Lockable {
|
class Lockable {
|
||||||
|
|
|
@ -310,7 +310,7 @@ void Thread::relock_process(LockMode previous_locked, u32 lock_count_to_restore)
|
||||||
|
|
||||||
if (previous_locked != LockMode::Unlocked) {
|
if (previous_locked != LockMode::Unlocked) {
|
||||||
// We've unblocked, relock the process if needed and carry on.
|
// 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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue