blob: e466fd159c857d6d7acec6da574c8647067e063a [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001/* SPDX-License-Identifier: GPL-2.0 */
Harvey Harrison40c9f222008-08-12 15:09:04 -07002#ifndef _LINUX_SWAB_H
3#define _LINUX_SWAB_H
4
David Howells607ca462012-10-13 10:46:48 +01005#include <uapi/linux/swab.h>
Harvey Harrison40c9f222008-08-12 15:09:04 -07006
Harvey Harrison40c9f222008-08-12 15:09:04 -07007# define swab16 __swab16
8# define swab32 __swab32
9# define swab64 __swab64
10# define swahw32 __swahw32
11# define swahb32 __swahb32
12# define swab16p __swab16p
13# define swab32p __swab32p
14# define swab64p __swab64p
15# define swahw32p __swahw32p
16# define swahb32p __swahb32p
17# define swab16s __swab16s
18# define swab32s __swab32s
19# define swab64s __swab64s
20# define swahw32s __swahw32s
21# define swahb32s __swahb32s
Harvey Harrison40c9f222008-08-12 15:09:04 -070022#endif /* _LINUX_SWAB_H */