git: 849e5b0b6167 - main - linuxkpi: <asm/unaligned.h> is moved to <linux/unaligned.h> in Linux 6.12
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 22 Apr 2026 18:10:23 UTC
The branch main has been updated by dumbbell:
URL: https://cgit.FreeBSD.org/src/commit/?id=849e5b0b6167d7c819f6998fa3e67122af81d794
commit 849e5b0b6167d7c819f6998fa3e67122af81d794
Author: Jean-Sébastien Pédron <dumbbell@FreeBSD.org>
AuthorDate: 2026-04-14 12:29:53 +0000
Commit: Jean-Sébastien Pédron <dumbbell@FreeBSD.org>
CommitDate: 2026-04-22 18:09:54 +0000
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
---
sys/compat/linuxkpi/common/include/linux/unaligned.h | 12 ++++++++++++
sys/compat/linuxkpi/dummy/include/linux/unaligned.h | 0
2 files changed, 12 insertions(+)
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