util_macros.h: add missing inclusion
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 3 Jan 2023 12:19:37 +0000 (14:19 +0200)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 3 Feb 2023 06:50:03 +0000 (22:50 -0800)
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>
include/linux/util_macros.h

index 72299f2..b641ec0 100644 (file)
@@ -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;                          \