lkml.org 
[lkml]   [2014]   [Dec]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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


\
 
 \ /
  Last update: 2014-12-17 15:01    [W:0.245 / U:0.172 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site