mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 12:18:10 +00:00
Kernel: Stub Spinlock is_locked
on aarch64
This commit is contained in:
parent
0822bf5580
commit
4aaf38e4f7
1 changed files with 4 additions and 0 deletions
|
@ -26,6 +26,10 @@ public:
|
||||||
|
|
||||||
[[nodiscard]] ALWAYS_INLINE bool is_locked() const
|
[[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;
|
return m_lock.load(AK::memory_order_relaxed) != 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue