Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Jun 2025 22:33:27 GMT
From:      =?utf-8?Q?Jean-S=C3=A9bastien?= =?utf-8?Q?P=C3=A9dron?= <dumbbell@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: cf16d65c2e3a - main - linuxkpi: Define `div64_ul()` as a synonym to `div64_u64()`
Message-ID:  <202506232233.55NMXR3d047740@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by dumbbell:

URL: https://cgit.FreeBSD.org/src/commit/?id=cf16d65c2e3a7099319447f7ac464b9839af868b

commit cf16d65c2e3a7099319447f7ac464b9839af868b
Author:     Jean-Sébastien Pédron <dumbbell@FreeBSD.org>
AuthorDate: 2025-06-18 20:35:49 +0000
Commit:     Jean-Sébastien Pédron <dumbbell@FreeBSD.org>
CommitDate: 2025-06-23 22:07:56 +0000

    linuxkpi: Define `div64_ul()` as a synonym to `div64_u64()`
    
    Reviewed by:    bz
    Sponsored by:   The FreeBSD Foundation
    Differential Revision: https://reviews.freebsd.org/D50986
---
 sys/compat/linuxkpi/common/include/linux/math64.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sys/compat/linuxkpi/common/include/linux/math64.h b/sys/compat/linuxkpi/common/include/linux/math64.h
index cae5e30b08df..a216d350570f 100644
--- a/sys/compat/linuxkpi/common/include/linux/math64.h
+++ b/sys/compat/linuxkpi/common/include/linux/math64.h
@@ -61,6 +61,8 @@ div64_u64(uint64_t dividend, uint64_t divisor)
 	return (dividend / divisor);
 }
 
+#define	div64_ul(x, y)	div64_u64((x), (y))
+
 static inline uint64_t
 div_u64_rem(uint64_t dividend, uint32_t divisor, uint32_t *remainder)
 {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202506232233.55NMXR3d047740>