]> git.baikalelectronics.ru Git - kernel.git/commit
tools: Work around BITS_PER_LONG related build failure in objtool
authorIngo Molnar <mingo@kernel.org>
Wed, 13 Jul 2016 07:37:43 +0000 (09:37 +0200)
committerIngo Molnar <mingo@kernel.org>
Wed, 13 Jul 2016 07:37:43 +0000 (09:37 +0200)
commit1af50591b8e13ef1fcfb2468dd06a6d56051826c
tree14df7e2b8f86af4b0d49e07e722904c7af26d9a2
parente7f693b3fb11d7960a4ff13c999598622622e06a
tools: Work around BITS_PER_LONG related build failure in objtool

The objtool build fails with the recent changes to the bits-per-long
headers:

  tools/include/linux/bitops.h:12:0: error: "BITS_PER_LONG" redefined [-Werror]

Which got introduced by:

  e36fb9d57c43 tools: Copy the bitsperlong.h files from the kernel

Work it around for the time being.

Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
tools/include/linux/bitops.h