tools: Copy the bitsperlong.h files from the kernel
authorArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 12 Jul 2016 14:12:18 +0000 (11:12 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 12 Jul 2016 18:20:39 +0000 (15:20 -0300)
commitbb9707077b4ee5f77bc9939b057ff8a0d410296f
tree5d532c5066c0b7e40948a44f6cab11cb3b8d6e61
parent39f54862a935e14a448cbd68d6a6bef68d026dbe
tools: Copy the bitsperlong.h files from the kernel

We use it in bitops/__ffs.h and bitops/atomic.h, that we also got from
the kernel, but were getting it from either newer systems that carry it
in /usr/include, or from the kernel sources, that we decided not to
touch from tools/ code. Fix it.

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-lwqvgbuitjmrdpjmjp6zqnyx@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
21 files changed:
tools/arch/alpha/include/uapi/asm/bitsperlong.h [new file with mode: 0644]
tools/arch/arm64/include/uapi/asm/bitsperlong.h [new file with mode: 0644]
tools/arch/frv/include/uapi/asm/bitsperlong.h [new file with mode: 0644]
tools/arch/h8300/include/asm/bitsperlong.h [new file with mode: 0644]
tools/arch/hexagon/include/uapi/asm/bitsperlong.h [new file with mode: 0644]
tools/arch/ia64/include/uapi/asm/bitsperlong.h [new file with mode: 0644]
tools/arch/m32r/include/uapi/asm/bitsperlong.h [new file with mode: 0644]
tools/arch/microblaze/include/uapi/asm/bitsperlong.h [new file with mode: 0644]
tools/arch/mips/include/uapi/asm/bitsperlong.h [new file with mode: 0644]
tools/arch/mn10300/include/uapi/asm/bitsperlong.h [new file with mode: 0644]
tools/arch/parisc/include/uapi/asm/bitsperlong.h [new file with mode: 0644]
tools/arch/powerpc/include/uapi/asm/bitsperlong.h [new file with mode: 0644]
tools/arch/s390/include/uapi/asm/bitsperlong.h [new file with mode: 0644]
tools/arch/score/include/uapi/asm/bitsperlong.h [new file with mode: 0644]
tools/arch/sparc/include/uapi/asm/bitsperlong.h [new file with mode: 0644]
tools/arch/tile/include/uapi/asm/bitsperlong.h [new file with mode: 0644]
tools/arch/x86/include/uapi/asm/bitsperlong.h [new file with mode: 0644]
tools/include/asm-generic/bitops/__ffs.h
tools/include/asm-generic/bitops/atomic.h
tools/include/asm-generic/bitsperlong.h [new file with mode: 0644]
tools/include/uapi/asm-generic/bitsperlong.h [new file with mode: 0644]