Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ExeBy/smexe_ro.../usr/include/asm
File: swab.h
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
[0] Fix | Delete
#ifndef _ASM_X86_SWAB_H
[1] Fix | Delete
#define _ASM_X86_SWAB_H
[2] Fix | Delete
[3] Fix | Delete
#include <linux/types.h>
[4] Fix | Delete
[5] Fix | Delete
[6] Fix | Delete
static __inline__ __u32 __arch_swab32(__u32 val)
[7] Fix | Delete
{
[8] Fix | Delete
__asm__("bswapl %0" : "=r" (val) : "0" (val));
[9] Fix | Delete
return val;
[10] Fix | Delete
}
[11] Fix | Delete
#define __arch_swab32 __arch_swab32
[12] Fix | Delete
[13] Fix | Delete
static __inline__ __u64 __arch_swab64(__u64 val)
[14] Fix | Delete
{
[15] Fix | Delete
#ifdef __i386__
[16] Fix | Delete
union {
[17] Fix | Delete
struct {
[18] Fix | Delete
__u32 a;
[19] Fix | Delete
__u32 b;
[20] Fix | Delete
} s;
[21] Fix | Delete
__u64 u;
[22] Fix | Delete
} v;
[23] Fix | Delete
v.u = val;
[24] Fix | Delete
__asm__("bswapl %0 ; bswapl %1 ; xchgl %0,%1"
[25] Fix | Delete
: "=r" (v.s.a), "=r" (v.s.b)
[26] Fix | Delete
: "0" (v.s.a), "1" (v.s.b));
[27] Fix | Delete
return v.u;
[28] Fix | Delete
#else /* __i386__ */
[29] Fix | Delete
__asm__("bswapq %0" : "=r" (val) : "0" (val));
[30] Fix | Delete
return val;
[31] Fix | Delete
#endif
[32] Fix | Delete
}
[33] Fix | Delete
#define __arch_swab64 __arch_swab64
[34] Fix | Delete
[35] Fix | Delete
#endif /* _ASM_X86_SWAB_H */
[36] Fix | Delete
[37] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function