1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-28 15:25:06 +00:00

Kernel: Stub Spinlock is_locked on aarch64

This commit is contained in:
Filiph Sandström 2022-08-06 04:11:54 +02:00 committed by Sam Atkins
parent 0822bf5580
commit 4aaf38e4f7

View file

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