The branch main has been updated by dumbbell: URL: https://cgit.FreeBSD.org/src/commit/?id=72a6197df998bb6aa36cf33aa44f6d5b50247537
commit 72a6197df998bb6aa36cf33aa44f6d5b50247537 Author: Jean-Sébastien Pédron <[email protected]> AuthorDate: 2026-06-17 18:43:01 +0000 Commit: Jean-Sébastien Pédron <[email protected]> CommitDate: 2026-06-24 16:47:09 +0000 linuxkpi: Define `ULL()` It simply appends "ULL" to its argument. The amdgpu DRM driver used it at some point in the development cycle of Linux 6.14 but the use case was dropped later. Let's still add it to linuxkpi because it will help if we need to do a git bisect in drm-kmod. Reviewed by: emaste Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D57703 --- sys/compat/linuxkpi/common/include/linux/const.h | 12 ++++++++++++ sys/compat/linuxkpi/common/include/vdso/const.h | 12 ++++++++++++ 2 files changed, 24 insertions(+) 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 */
