Harvey Harrison | 40c9f22 | 2008-08-12 15:09:04 -0700 | [diff] [blame] | 1 | #ifndef _LINUX_SWAB_H |
| 2 | #define _LINUX_SWAB_H |
| 3 | |
David Howells | 607ca46 | 2012-10-13 10:46:48 +0100 | [diff] [blame] | 4 | #include <uapi/linux/swab.h> |
Harvey Harrison | 40c9f22 | 2008-08-12 15:09:04 -0700 | [diff] [blame] | 5 | |
Harvey Harrison | 40c9f22 | 2008-08-12 15:09:04 -0700 | [diff] [blame] | 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 |
Harvey Harrison | 40c9f22 | 2008-08-12 15:09:04 -0700 | [diff] [blame] | 21 | #endif /* _LINUX_SWAB_H */ |