It calculates greatest common divisor. Signed-off-by: Andrey Panov <rockford@yandex.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
9 lines
152 B
C
9 lines
152 B
C
#ifndef _GCD_H
|
|
#define _GCD_H
|
|
|
|
#include <linux/kernel.h>
|
|
|
|
unsigned long gcd(unsigned long a, unsigned long b) __attribute_const__;
|
|
|
|
#endif /* _GCD_H */
|