Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
Harvey Harrison | 40c9f22 | 2008-08-12 15:09:04 -0700 | [diff] [blame] | 2 | #ifndef _LINUX_SWAB_H |
| 3 | #define _LINUX_SWAB_H |
| 4 | |
David Howells | 607ca46 | 2012-10-13 10:46:48 +0100 | [diff] [blame] | 5 | #include <uapi/linux/swab.h> |
Harvey Harrison | 40c9f22 | 2008-08-12 15:09:04 -0700 | [diff] [blame] | 6 | |
Harvey Harrison | 40c9f22 | 2008-08-12 15:09:04 -0700 | [diff] [blame] | 7 | # 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 Harrison | 40c9f22 | 2008-08-12 15:09:04 -0700 | [diff] [blame] | 22 | #endif /* _LINUX_SWAB_H */ |