Server IP : 15.235.198.142 / Your IP : 216.73.216.154 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ballsack 6.8.0-45-generic #45-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 30 12:02:04 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /usr/src/linux-headers-6.8.0-45/arch/s390/include/asm/ |
Upload File : |
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __ASM_S390_RWONCE_H #define __ASM_S390_RWONCE_H #include <linux/compiler_types.h> /* * Use READ_ONCE_ALIGNED_128() for 128-bit block concurrent (atomic) read * accesses. Note that x must be 128-bit aligned, otherwise a specification * exception is generated. */ #define READ_ONCE_ALIGNED_128(x) \ ({ \ union { \ typeof(x) __x; \ __uint128_t val; \ } __u; \ \ BUILD_BUG_ON(sizeof(x) != 16); \ asm volatile( \ " lpq %[val],%[_x]\n" \ : [val] "=d" (__u.val) \ : [_x] "QS" (x) \ : "memory"); \ __u.__x; \ }) #include <asm-generic/rwonce.h> #endif /* __ASM_S390_RWONCE_H */