]>
git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/blob - lib/lcm.c
1 #include <linux/kernel.h>
3 #include <linux/module.h>
5 /* Lowest common multiple */
6 unsigned long lcm(unsigned long a
, unsigned long b
)
9 return (a
* b
) / gcd(a
, b
);
15 EXPORT_SYMBOL_GPL(lcm
);