linux/tools/include/asm-generic
Arnaldo Carvalho de Melo 2a00f026a1 tools: Fix up BITS_PER_LONG setting
It was set based on CONFIG_64BIT, that is available only when using
Kconfig, which we're working towards but not to the point of having this
CONFIG variable set, so synthesize it from available compiler defined
defines, __SIZEOF_LONG__ or, lacking that, __WORDSIZE.

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-og5fmkr17856lhupacihwxvb@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2016-07-13 15:04:04 -03:00
..
bitops tools: Copy the bitsperlong.h files from the kernel 2016-07-12 15:20:39 -03:00
atomic-gcc.h tools include: Add basic atomic.h implementation from the kernel sources 2015-05-08 16:11:05 -03:00
barrier.h tools: Adopt asm-generic/barrier.h 2015-05-08 16:05:04 -03:00
bitops.h tools: Remove bitops/hweight usage of bits in tools/perf 2015-01-16 17:49:29 -03:00
bitsperlong.h tools: Fix up BITS_PER_LONG setting 2016-07-13 15:04:04 -03:00