Server IP : 209.38.156.173 / Your IP : 216.73.216.122 [ Web Server : Apache/2.4.52 (Ubuntu) System : Linux lakekumayuhotel 5.15.0-136-generic #147-Ubuntu SMP Sat Mar 15 15:53:30 UTC 2025 x86_64 User : root ( 0) PHP Version : 8.1.2-1ubuntu2.22 Disable Function : NONE Domains : 2 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/src/linux-headers-5.15.0-136-generic/arch/arm/include/asm/ |
Upload File : |
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __ASM_MCS_LOCK_H #define __ASM_MCS_LOCK_H #ifdef CONFIG_SMP #include <asm/spinlock.h> /* MCS spin-locking. */ #define arch_mcs_spin_lock_contended(lock) \ do { \ /* Ensure prior stores are observed before we enter wfe. */ \ smp_mb(); \ while (!(smp_load_acquire(lock))) \ wfe(); \ } while (0) \ #define arch_mcs_spin_unlock_contended(lock) \ do { \ smp_store_release(lock, 1); \ dsb_sev(); \ } while (0) #endif /* CONFIG_SMP */ #endif /* __ASM_MCS_LOCK_H */