1 /* SPDX-License-Identifier: GPL-2.0 */ 2 #ifndef PERF_MEMSWAP_H_ 3 #define PERF_MEMSWAP_H_ 4 5 #include <linux/types.h> 6 7 union u64_swap { 8 u64 val64; 9 u32 val32[2]; 10 }; 11 12 void mem_bswap_64(void *src, int byte_size); 13 void mem_bswap_32(void *src, int byte_size); 14 15 #endif /* PERF_MEMSWAP_H_ */ 16