diff options
author | Adrian Hunter <adrian.hunter@intel.com> | 2024-03-25 09:40:09 +0300 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2024-04-08 16:03:07 +0300 |
commit | 1beb35ec615f676d49d68b6dc23c7418ba8ff145 (patch) | |
tree | a2ae41ba06edddd74a629dd071340eed60461ae5 /include/linux/math64.h | |
parent | 5e5e51422cd189bc1b627f619f0f99324e6e4de9 (diff) | |
download | linux-1beb35ec615f676d49d68b6dc23c7418ba8ff145.tar.xz |
vdso, math64: Provide mul_u64_u32_add_u64_shr()
Provide mul_u64_u32_add_u64_shr() which is a calculation that will be used
by timekeeping and VDSO.
Place #include <vdso/math64.h> after #include <asm/div64.h> to allow
architecture-specific overrides, at least for the kernel.
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20240325064023.2997-6-adrian.hunter@intel.com
Diffstat (limited to 'include/linux/math64.h')
-rw-r--r-- | include/linux/math64.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/math64.h b/include/linux/math64.h index fd13622b2056..d34def7f9a8c 100644 --- a/include/linux/math64.h +++ b/include/linux/math64.h @@ -4,8 +4,8 @@ #include <linux/types.h> #include <linux/math.h> -#include <vdso/math64.h> #include <asm/div64.h> +#include <vdso/math64.h> #if BITS_PER_LONG == 64 |