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

tools include: Include missing headers for fls() and types in linux/log2.h

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/n/tip-7wj865zidu5ylf87i6i7v6z7@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>

+3
+3
tools/include/linux/log2.h
··· 12 12 #ifndef _TOOLS_LINUX_LOG2_H 13 13 #define _TOOLS_LINUX_LOG2_H 14 14 15 + #include <linux/bitops.h> 16 + #include <linux/types.h> 17 + 15 18 /* 16 19 * non-constant log of base 2 calculators 17 20 * - the arch may override these in asm/bitops.h if they can be implemented