summaryrefslogtreecommitdiff
path: root/include/linux/gcd.h
blob: 616e81a7f7e31d94dd809419b718b0eea1902cb7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _GCD_H
#define _GCD_H

#include <linux/compiler.h>
#include <linux/jump_label.h>

DECLARE_STATIC_KEY_TRUE(efficient_ffs_key);

unsigned long gcd(unsigned long a, unsigned long b) __attribute_const__;

#endif /* _GCD_H */