From 4aaf38e4f748b51fa14cb747a458fbe5dd6da6f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Filiph=20Sandstr=C3=B6m?= Date: Sat, 6 Aug 2022 04:11:54 +0200 Subject: [PATCH] Kernel: Stub Spinlock `is_locked` on aarch64 --- Kernel/Arch/Spinlock.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Kernel/Arch/Spinlock.h b/Kernel/Arch/Spinlock.h index 995dc36c37..0575b400be 100644 --- a/Kernel/Arch/Spinlock.h +++ b/Kernel/Arch/Spinlock.h @@ -26,6 +26,10 @@ public: [[nodiscard]] ALWAYS_INLINE bool is_locked() const { + // FIXME: Implement Spinlock on aarch64 +#if ARCH(AARCH64) + return true; +#endif return m_lock.load(AK::memory_order_relaxed) != 0; }