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/m68k/include/uapi/asm/ |
Upload File : |
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #ifndef _M68K_SWAB_H #define _M68K_SWAB_H #include <linux/types.h> #include <linux/compiler.h> #define __SWAB_64_THRU_32__ #if defined (__mcfisaaplus__) || defined (__mcfisac__) static inline __attribute_const__ __u32 __arch_swab32(__u32 val) { __asm__("byterev %0" : "=d" (val) : "0" (val)); return val; } #define __arch_swab32 __arch_swab32 #elif !defined(__mcoldfire__) static inline __attribute_const__ __u32 __arch_swab32(__u32 val) { __asm__("rolw #8,%0; swap %0; rolw #8,%0" : "=d" (val) : "0" (val)); return val; } #define __arch_swab32 __arch_swab32 #endif #endif /* _M68K_SWAB_H */