summaryrefslogtreecommitdiffstats
path: root/include/linux/gcd.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/gcd.h')
-rw-r--r--include/linux/gcd.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/linux/gcd.h b/include/linux/gcd.h
new file mode 100644
index 000000000..cb572677f
--- /dev/null
+++ b/include/linux/gcd.h
@@ -0,0 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#ifndef _GCD_H
+#define _GCD_H
+
+#include <linux/compiler.h>
+
+unsigned long gcd(unsigned long a, unsigned long b) __attribute_const__;
+
+#endif /* _GCD_H */