Merge tag 'block-5.11-2021-01-10' of git://git.kernel.dk/linux-block
[linux/fpc-iii.git] / tools / perf / util / memswap.h
blob2c38e8c2d5484cd49985e092142fbefa8029e645
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef PERF_MEMSWAP_H_
3 #define PERF_MEMSWAP_H_
5 #include <linux/types.h>
7 union u64_swap {
8 u64 val64;
9 u32 val32[2];
12 void mem_bswap_64(void *src, int byte_size);
13 void mem_bswap_32(void *src, int byte_size);
15 #endif /* PERF_MEMSWAP_H_ */