diff options
Diffstat (limited to 'include/linux/byteorder/little_endian.h')
-rw-r--r-- | include/linux/byteorder/little_endian.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/byteorder/little_endian.h b/include/linux/byteorder/little_endian.h index 86e62b750176..05dc7c35b3b2 100644 --- a/include/linux/byteorder/little_endian.h +++ b/include/linux/byteorder/little_endian.h | |||
@@ -101,6 +101,8 @@ static inline __u16 __be16_to_cpup(const __be16 *p) | |||
101 | #define __cpu_to_be16s(x) __swab16s((x)) | 101 | #define __cpu_to_be16s(x) __swab16s((x)) |
102 | #define __be16_to_cpus(x) __swab16s((x)) | 102 | #define __be16_to_cpus(x) __swab16s((x)) |
103 | 103 | ||
104 | #ifdef __KERNEL__ | ||
104 | #include <linux/byteorder/generic.h> | 105 | #include <linux/byteorder/generic.h> |
106 | #endif | ||
105 | 107 | ||
106 | #endif /* _LINUX_BYTEORDER_LITTLE_ENDIAN_H */ | 108 | #endif /* _LINUX_BYTEORDER_LITTLE_ENDIAN_H */ |