Loading...
1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef _LINUX_SWAB_H
3#define _LINUX_SWAB_H
4
5#include <uapi/linux/swab.h>
6
7# define swab16 __swab16
8# define swab32 __swab32
9# define swab64 __swab64
10# define swab __swab
11# define swahw32 __swahw32
12# define swahb32 __swahb32
13# define swab16p __swab16p
14# define swab32p __swab32p
15# define swab64p __swab64p
16# define swahw32p __swahw32p
17# define swahb32p __swahb32p
18# define swab16s __swab16s
19# define swab32s __swab32s
20# define swab64s __swab64s
21# define swahw32s __swahw32s
22# define swahb32s __swahb32s
23#endif /* _LINUX_SWAB_H */
1#ifndef _LINUX_SWAB_H
2#define _LINUX_SWAB_H
3
4#include <uapi/linux/swab.h>
5
6# define swab16 __swab16
7# define swab32 __swab32
8# define swab64 __swab64
9# define swahw32 __swahw32
10# define swahb32 __swahb32
11# define swab16p __swab16p
12# define swab32p __swab32p
13# define swab64p __swab64p
14# define swahw32p __swahw32p
15# define swahb32p __swahb32p
16# define swab16s __swab16s
17# define swab32s __swab32s
18# define swab64s __swab64s
19# define swahw32s __swahw32s
20# define swahb32s __swahb32s
21#endif /* _LINUX_SWAB_H */