summaryrefslogtreecommitdiff
authorArnaldo Carvalho de Melo <acme@redhat.com>2017-04-18 14:42:23 (GMT)
committer Greg Kroah-Hartman <gregkh@linuxfoundation.org>2019-05-31 13:48:13 (GMT)
commitd31e3e39c68cf800c873c866cfdbd6aceb608207 (patch)
treeaef49107e96e40076162feb550ff4bfa9d848e3b
parenta186a933f9eca5fa7c10c975ba6d307a0ab1ba0a (diff)
downloadcommon-d31e3e39c68cf800c873c866cfdbd6aceb608207.zip
common-d31e3e39c68cf800c873c866cfdbd6aceb608207.tar.gz
common-d31e3e39c68cf800c873c866cfdbd6aceb608207.tar.bz2
perf tools: No need to include bitops.h in util.h
commit 6dcca6df4b73d409628c7b4464c63d4eb9d4d13a upstream. When we switched to the kernel's roundup_pow_of_two we forgot to remove this include from util.h, do it now. 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> Fixes: 91529834d1de ("perf evlist: Use roundup_pow_of_two") Link: http://lkml.kernel.org/n/tip-kfye5rxivib6155cltx0bw4h@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> [bwh: Backported to 4.9 as dependency of "tools include: Adopt linux/bits.h"; adjusted context] Signed-off-by: Ben Hutchings <ben@decadent.org.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat
-rw-r--r--tools/perf/util/util.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/perf/util/util.h b/tools/perf/util/util.h
index e72d370..8b39e80 100644
--- a/tools/perf/util/util.h
+++ b/tools/perf/util/util.h
@@ -74,7 +74,6 @@
#include <sys/ttydefaults.h>
#include <api/fs/tracing_path.h>
#include <termios.h>
-#include <linux/bitops.h>
#include <termios.h>
#include "strlist.h"