Split out of lib.h, remove x86-isms from the common library.
https://gitlab.com/xen-project/hardware/xen-staging/-/pipelines/2237126270
Andrew Cooper (5):
xen: Fix endian handling in muldiv64.c
arm/time: Sort headers
x86/time: Sort headers
xen: Split muldiv64() out of lib.h
xen: Move x86-ism out of muldiv64.c
xen/arch/arm/time.c | 21 ++++++++--------
xen/arch/riscv/include/asm/time.h | 4 +--
xen/arch/x86/emul-i8254.c | 12 ++++-----
xen/arch/x86/include/asm/muldiv.h | 20 +++++++++++++++
xen/arch/x86/time.c | 42 ++++++++++++++++---------------
xen/common/bitops.c | 12 +++++++++
xen/include/xen/lib.h | 2 --
xen/include/xen/muldiv.h | 26 +++++++++++++++++++
xen/lib/muldiv64.c | 19 +++++---------
9 files changed, 105 insertions(+), 53 deletions(-)
create mode 100644 xen/arch/x86/include/asm/muldiv.h
create mode 100644 xen/include/xen/muldiv.h
--
2.39.5