1 #ifndef _LINUX_UNALIGNED_MEMMOVE_H
2 #define _LINUX_UNALIGNED_MEMMOVE_H
4 #include <linux/kernel.h>
5 #include <linux/string.h>
7 /* Use memmove here, so gcc does not insert a __builtin_memcpy. */
9 static inline u16 __get_unaligned_memmove16(const void *p)
16 static inline u32 __get_unaligned_memmove32(const void *p)
23 static inline u64 __get_unaligned_memmove64(const void *p)
30 static inline void __put_unaligned_memmove16(u16 val, void *p)
35 static inline void __put_unaligned_memmove32(u32 val, void *p)
40 static inline void __put_unaligned_memmove64(u64 val, void *p)
45 #endif /* _LINUX_UNALIGNED_MEMMOVE_H */