1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-02 22:22:07 +00:00

Kernel: Remove the now defunct RESTORE_LOCK(..) macro.

This commit is contained in:
Brian Gianforcaro 2021-04-24 15:24:30 -07:00 committed by Andreas Kling
parent 04156d53ca
commit 0d5827f865
2 changed files with 1 additions and 2 deletions

View file

@ -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);
}
}