lib: Add gcd() function
It calculates greatest common divisor.

Signed-off-by: Andrey Panov <rockford@yandex.ru>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 09c4b63 commit 78d030226d25b2c4e4cbad6228fc3f90902015c5
@Andrey Panov Andrey Panov authored on 4 Mar 2015
Sascha Hauer committed on 5 Mar 2015
Showing 4 changed files
View
include/linux/gcd.h 0 → 100644
View
include/linux/kernel.h
View
lib/Makefile
View
lib/gcd.c 0 → 100644