diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2023-01-03 15:19:37 +0300 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-02-03 09:50:03 +0300 |
commit | 9456d539acde9f92a52ffe477b4b86e35d214d1a (patch) | |
tree | 6cea0815f0865fa0476b2cc80f19a9506f67b7ff | |
parent | eb79fa7ea744979d2b66b26e9227c92e3ad39ff2 (diff) | |
download | linux-9456d539acde9f92a52ffe477b4b86e35d214d1a.tar.xz |
util_macros.h: add missing inclusion
The header is the direct user of definitions from the math.h, include it.
Link: https://lkml.kernel.org/r/20230103121937.32085-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
-rw-r--r-- | include/linux/util_macros.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/util_macros.h b/include/linux/util_macros.h index 72299f261b25..b641ec00be3e 100644 --- a/include/linux/util_macros.h +++ b/include/linux/util_macros.h @@ -2,6 +2,8 @@ #ifndef _LINUX_HELPER_MACROS_H_ #define _LINUX_HELPER_MACROS_H_ +#include <linux/math.h> + #define __find_closest(x, a, as, op) \ ({ \ typeof(as) __fc_i, __fc_as = (as) - 1; \ |