sched: get 64-bit greatest common divisor
authorXueming Li <xuemingl@nvidia.com>
Thu, 23 Sep 2021 08:11:21 +0000 (16:11 +0800)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 27 Sep 2021 15:24:16 +0000 (17:24 +0200)
commiteb5636e879a568a323cbed4c356162011e7312be
tree11045ccc24df180205cac4a816eeeaa6fabb345d
parent175d213bf833624c501188ca8f2dd7fe4bf599b3
sched: get 64-bit greatest common divisor

This patch adds new function that compute the greatest common
divisor of 64 bits, also changes the original 32 bits function
to call this new 64-bit version.

Cc: stable@dpdk.org
Signed-off-by: Xueming Li <xuemingl@nvidia.com>
Acked-by: Kevin Traynor <ktraynor@redhat.com>
lib/sched/rte_sched_common.h