summaryrefslogtreecommitdiffstats
path: root/kernel/include/linux/swab.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/include/linux/swab.h')
-rw-r--r--kernel/include/linux/swab.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/kernel/include/linux/swab.h b/kernel/include/linux/swab.h
new file mode 100644
index 000000000..9ad3c60f6
--- /dev/null
+++ b/kernel/include/linux/swab.h
@@ -0,0 +1,21 @@
+#ifndef _LINUX_SWAB_H
+#define _LINUX_SWAB_H
+
+#include <uapi/linux/swab.h>
+
+# define swab16 __swab16
+# define swab32 __swab32
+# define swab64 __swab64
+# define swahw32 __swahw32
+# define swahb32 __swahb32
+# define swab16p __swab16p
+# define swab32p __swab32p
+# define swab64p __swab64p
+# define swahw32p __swahw32p
+# define swahb32p __swahb32p
+# define swab16s __swab16s
+# define swab32s __swab32s
+# define swab64s __swab64s
+# define swahw32s __swahw32s
+# define swahb32s __swahb32s
+#endif /* _LINUX_SWAB_H */