[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160713073714.GA28443@gmail.com>
Date: Wed, 13 Jul 2016 09:37:14 +0200
From: Ingo Molnar <mingo@...nel.org>
To: Arnaldo Carvalho de Melo <acme@...nel.org>
Cc: linux-kernel@...r.kernel.org,
Adrian Hunter <adrian.hunter@...el.com>,
Alexander Shishkin <alexander.shishkin@...ux.intel.com>,
Alexander Yarygin <yarygin@...ux.vnet.ibm.com>,
Alexey Brodkin <Alexey.Brodkin@...opsys.com>,
Ananth N Mavinakayanahalli <ananth@...ux.vnet.ibm.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Brendan Gregg <brendan.d.gregg@...il.com>,
Chris Phlipot <cphlipot0@...il.com>,
Christoffer Dall <christoffer.dall@...aro.org>,
David Ahern <dsahern@...il.com>,
Davidlohr Bueso <dbueso@...e.de>,
David Tolnay <dtolnay@...il.com>,
Eric Auger <eric.auger@...aro.org>,
Hemant Kumar <hemant@...ux.vnet.ibm.com>,
Hitoshi Mitake <mitake@....info.waseda.ac.jp>,
Jiri Olsa <jolsa@...nel.org>,
Josh Poimboeuf <jpoimboe@...hat.com>,
Marc Zyngier <marc.zyngier@....com>,
Masami Hiramatsu <mhiramat@...nel.org>,
Namhyung Kim <namhyung@...nel.org>,
"Naveen N . Rao" <naveen.n.rao@...ux.vnet.ibm.com>,
Peter Zijlstra <a.p.zijlstra@...llo.nl>,
Peter Zijlstra <peterz@...radead.org>,
Srikar Dronamraju <srikar@...ux.vnet.ibm.com>,
Steven Rostedt <rostedt@...dmis.org>,
Vineet Gupta <vgupta@...opsys.com>,
Wang Nan <wangnan0@...wei.com>,
Yunlong Song <yunlong.song@...wei.com>,
Arnaldo Carvalho de Melo <acme@...hat.com>
Subject: Re: [GIT PULL 00/66] perf/core improvements and fixes
I have worked around the build failure for the time being via the patch below -
but I guess there must be a better way.
Thanks,
Ingo
tools/include/linux/bitops.h | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/tools/include/linux/bitops.h b/tools/include/linux/bitops.h
index 5ad9ee1dd7f6..49c929a104ee 100644
--- a/tools/include/linux/bitops.h
+++ b/tools/include/linux/bitops.h
@@ -9,7 +9,9 @@
#define __WORDSIZE (__SIZEOF_LONG__ * 8)
#endif
-#define BITS_PER_LONG __WORDSIZE
+#ifndef BITS_PER_LONG
+# define BITS_PER_LONG __WORDSIZE
+#endif
#define BIT_MASK(nr) (1UL << ((nr) % BITS_PER_LONG))
#define BIT_WORD(nr) ((nr) / BITS_PER_LONG)
Powered by blists - more mailing lists