mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 23:27:43 +00:00
Kernel: Remove VERIFY_NOT_REACHED in {current, idle}_thread for aarch64
These functions are called by kmalloc, and since there is no support for threading in the aarch64 build yet, we can simply remove the VERIFY_NOT_REACHED().
This commit is contained in:
parent
8e0bd63b0c
commit
3b4d2d9b51
1 changed files with 3 additions and 3 deletions
|
@ -85,10 +85,10 @@ public:
|
|||
return 0;
|
||||
}
|
||||
|
||||
// FIXME: Actually return the current thread once aarch64 supports threading.
|
||||
ALWAYS_INLINE static Thread* current_thread()
|
||||
{
|
||||
VERIFY_NOT_REACHED();
|
||||
return 0;
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
ALWAYS_INLINE bool has_nx() const
|
||||
|
@ -121,9 +121,9 @@ public:
|
|||
return 0;
|
||||
}
|
||||
|
||||
// FIXME: Actually return the idle thread once aarch64 supports threading.
|
||||
ALWAYS_INLINE static Thread* idle_thread()
|
||||
{
|
||||
VERIFY_NOT_REACHED();
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue