aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Sébastien Pédron <dumbbell@FreeBSD.org>2026-04-14 12:29:53 +0000
committerJean-Sébastien Pédron <dumbbell@FreeBSD.org>2026-04-22 18:09:54 +0000
commit849e5b0b6167d7c819f6998fa3e67122af81d794 (patch)
treeae45fd3b8d044373c49962a50ce13b37ec6bfb95
parent7643dd70a4dfa5fd874300a7161c24b808d6b134 (diff)
linuxkpi: <asm/unaligned.h> is moved to <linux/unaligned.h> in Linux 6.12
Reviewed by: bz Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D56454
-rw-r--r--sys/compat/linuxkpi/common/include/linux/unaligned.h12
-rw-r--r--sys/compat/linuxkpi/dummy/include/linux/unaligned.h0
2 files changed, 12 insertions, 0 deletions
diff --git a/sys/compat/linuxkpi/common/include/linux/unaligned.h b/sys/compat/linuxkpi/common/include/linux/unaligned.h
new file mode 100644
index 000000000000..5a59a4b36b4f
--- /dev/null
+++ b/sys/compat/linuxkpi/common/include/linux/unaligned.h
@@ -0,0 +1,12 @@
+/*
+ * SPDX-License-Identifier: BSD-2-Clause
+ *
+ * Copyright (c) 2026 The FreeBSD Foundation
+ */
+
+#ifndef _LINUXKPI_LINUX_UNALIGNED_H
+#define _LINUXKPI_LINUX_UNALIGNED_H
+
+#include <asm/unaligned.h>
+
+#endif /* _LINUXKPI_LINUX_UNALIGNED_H */
diff --git a/sys/compat/linuxkpi/dummy/include/linux/unaligned.h b/sys/compat/linuxkpi/dummy/include/linux/unaligned.h
deleted file mode 100644
index e69de29bb2d1..000000000000
--- a/sys/compat/linuxkpi/dummy/include/linux/unaligned.h
+++ /dev/null