diff options
author | Timon Kruiper <timonkruiper@gmail.com> | 2022-05-03 00:19:49 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-05-03 21:53:36 +0200 |
commit | 3b4d2d9b519246b9a0129d96a5fde8d9a181ec24 (patch) | |
tree | 2f7d3c972734e7062e90ec7a379448a0fdfc1c03 | |
parent | 8e0bd63b0cd8b8267ac3e92cf9840236e39f41fe (diff) | |
download | serenity-3b4d2d9b519246b9a0129d96a5fde8d9a181ec24.zip |
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().
-rw-r--r-- | Kernel/Arch/aarch64/Processor.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Kernel/Arch/aarch64/Processor.h b/Kernel/Arch/aarch64/Processor.h index d828964299..ed2e6bfdd8 100644 --- a/Kernel/Arch/aarch64/Processor.h +++ b/Kernel/Arch/aarch64/Processor.h @@ -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; } |