Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Andy Shevchenko and committed by
Andrew Morton
9456d539 eb79fa7e

+2
+2
include/linux/util_macros.h
··· 2 2 #ifndef _LINUX_HELPER_MACROS_H_ 3 3 #define _LINUX_HELPER_MACROS_H_ 4 4 5 + #include <linux/math.h> 6 + 5 7 #define __find_closest(x, a, as, op) \ 6 8 ({ \ 7 9 typeof(as) __fc_i, __fc_as = (as) - 1; \