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