diff options
| author | Jean-Sébastien Pédron <dumbbell@FreeBSD.org> | 2025-09-15 21:40:31 +0000 |
|---|---|---|
| committer | Jean-Sébastien Pédron <dumbbell@FreeBSD.org> | 2026-01-05 19:32:50 +0000 |
| commit | 15f29e1e1978bbc4ed24975ad3666596281076fc (patch) | |
| tree | b985533fbbc85c1fad4ab36d2d664fb267f3ef93 | |
| parent | a9462e32fa75a9a1e3f49964bc42b5303e0dd092 (diff) | |
| -rw-r--r-- | sys/compat/linuxkpi/common/include/asm/unaligned.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/compat/linuxkpi/common/include/asm/unaligned.h b/sys/compat/linuxkpi/common/include/asm/unaligned.h index e45846a3b543..6778e9fcede1 100644 --- a/sys/compat/linuxkpi/common/include/asm/unaligned.h +++ b/sys/compat/linuxkpi/common/include/asm/unaligned.h @@ -48,6 +48,13 @@ get_unaligned_le32(const void *p) return (le32_to_cpup((const __le32 *)p)); } +static __inline uint64_t +get_unaligned_le64(const void *p) +{ + + return (le64_to_cpup((const __le64 *)p)); +} + static __inline void put_unaligned_le16(__le16 v, void *p) { |
