Skip to content

Commit fc062ad

Browse files
geertuarndb
authored andcommitted
asm-generic: ffs: Drop bogus reference to ffz location
The generic definition of ffz() is not defined in the same header files as the generic definitions of ffs(). Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
1 parent 2734d6c commit fc062ad

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

include/asm-generic/bitops/builtin-ffs.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
* This is defined the same way as
1010
* the libc and compiler builtin ffs routines, therefore
11-
* differs in spirit from the above ffz (man ffs).
11+
* differs in spirit from ffz (man ffs).
1212
*/
1313
#define ffs(x) __builtin_ffs(x)
1414

include/asm-generic/bitops/ffs.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
* This is defined the same way as
1010
* the libc and compiler builtin ffs routines, therefore
11-
* differs in spirit from the above ffz (man ffs).
11+
* differs in spirit from ffz (man ffs).
1212
*/
1313
static inline int ffs(int x)
1414
{

0 commit comments

Comments
 (0)