Messages in this thread | | | Date | Wed, 17 Dec 2014 14:27:44 +0100 | From | Jiri Olsa <> | Subject | Re: [PATCH 06/18] tools: Move __ffs implementation to tools/include/asm-generic/bitops/__ffs.h |
| |
On Tue, Dec 16, 2014 at 01:57:08PM -0300, Arnaldo Carvalho de Melo wrote:
SNIP
> + } > + if ((word & 0x1) == 0) > + num += 1; > + return num; > +} > + > +#endif /* _TOOLS_LINUX_ASM_GENERIC_BITOPS___FFS_H_ */ > diff --git a/tools/perf/MANIFEST b/tools/perf/MANIFEST > index 344c4d3d0a4a..39c08636357b 100644 > --- a/tools/perf/MANIFEST > +++ b/tools/perf/MANIFEST > @@ -5,6 +5,7 @@ tools/lib/api > tools/lib/symbol/kallsyms.c > tools/lib/symbol/kallsyms.h > tools/include/asm/bug.h > +tools/include/asm-generic/bitops/__ffs.h > tools/include/linux/compiler.h > tools/include/linux/hash.h > tools/include/linux/export.h > diff --git a/tools/perf/Makefile.perf b/tools/perf/Makefile.perf > index 763e68fb5767..bfd86a32254a 100644 > --- a/tools/perf/Makefile.perf > +++ b/tools/perf/Makefile.perf > @@ -232,6 +232,7 @@ LIB_H += ../include/linux/hash.h > LIB_H += ../../include/linux/stringify.h > LIB_H += util/include/linux/bitmap.h > LIB_H += util/include/linux/bitops.h > +LIB_H += ../include/asm-generic/bitops/__ffs.h
whitespace at the EOLN ;-)
jirka
| |