kernel: be more careful about kernel address keys
This commit is contained in:
parent
f4e795193b
commit
63414faea4
5 changed files with 23 additions and 11 deletions
|
@ -157,7 +157,7 @@ bool KProcess::ReleaseUserException(KThread* thread) {
|
|||
|
||||
// Remove waiter thread.
|
||||
bool has_waiters{};
|
||||
if (KThread* next = thread->RemoveWaiterByKey(
|
||||
if (KThread* next = thread->RemoveKernelWaiterByKey(
|
||||
std::addressof(has_waiters),
|
||||
reinterpret_cast<uintptr_t>(std::addressof(exception_thread)));
|
||||
next != nullptr) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue