aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJean-Sébastien Pédron <dumbbell@FreeBSD.org>2026-06-17 18:43:01 +0000
committerJean-Sébastien Pédron <dumbbell@FreeBSD.org>2026-06-24 16:47:09 +0000
commit72a6197df998bb6aa36cf33aa44f6d5b50247537 (patch)
tree8e8c4dac6c0d8ccb1cbf93dc7ac559572cc90811 /sys
parentb55cc81fcf9718887a51b22f1436f6cc369fa47b (diff)
Diffstat (limited to 'sys')
-rw-r--r--sys/compat/linuxkpi/common/include/linux/const.h12
-rw-r--r--sys/compat/linuxkpi/common/include/vdso/const.h12
2 files changed, 24 insertions, 0 deletions
diff --git a/sys/compat/linuxkpi/common/include/linux/const.h b/sys/compat/linuxkpi/common/include/linux/const.h
new file mode 100644
index 000000000000..298d195addc2
--- /dev/null
+++ b/sys/compat/linuxkpi/common/include/linux/const.h
@@ -0,0 +1,12 @@
+/*
+ * SPDX-License-Identifier: BSD-2-Clause
+ *
+ * Copyright (c) 2026 The FreeBSD Foundation
+ */
+
+#ifndef _LINUXKPI_LINUX_CONST_H
+#define _LINUXKPI_LINUX_CONST_H
+
+#include <vdso/const.h>
+
+#endif /* _LINUXKPI_LINUX_CONST_H */
diff --git a/sys/compat/linuxkpi/common/include/vdso/const.h b/sys/compat/linuxkpi/common/include/vdso/const.h
new file mode 100644
index 000000000000..de88abd39537
--- /dev/null
+++ b/sys/compat/linuxkpi/common/include/vdso/const.h
@@ -0,0 +1,12 @@
+/*
+ * SPDX-License-Identifier: BSD-2-Clause
+ *
+ * Copyright (c) 2026 The FreeBSD Foundation
+ */
+
+#ifndef _LINUXKPI_VDSO_CONST_H
+#define _LINUXKPI_VDSO_CONST_H
+
+#define ULL(x) (x ## ULL)
+
+#endif /* _LINUXKPI_VDSO_CONST_H */