mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-23 09:48:56 +00:00
Kernel: Stub Spinlock is_locked
on aarch64
This commit is contained in:
parent
0822bf5580
commit
4aaf38e4f7
Notes:
sideshowbarker
2024-07-17 08:18:26 +09:00
Author: https://github.com/filiphsps
Commit: 4aaf38e4f7
Pull-request: https://github.com/SerenityOS/serenity/pull/14778
Reviewed-by: https://github.com/FireFox317
Reviewed-by: https://github.com/nico ✅
Reviewed-by: https://github.com/supercomputer7 ✅
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue