cregit-Linux how code gets into the kernel

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

/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _ASM_GENERIC_BITOPS_BUILTIN_FFS_H_

#define _ASM_GENERIC_BITOPS_BUILTIN_FFS_H_

/**
 * ffs - find first bit set
 * @x: the word to search
 *
 * This is defined the same way as
 * the libc and compiler builtin ffs routines, therefore
 * differs in spirit from the above ffz (man ffs).
 */

static __always_inline int ffs(int x) { return __builtin_ffs(x); }

Contributors

PersonTokensPropCommitsCommitProp
Catalin Marinas16100.00%1100.00%
Total16100.00%1100.00%

#endif

Overall Contributors

PersonTokensPropCommitsCommitProp
Catalin Marinas2596.15%150.00%
Greg Kroah-Hartman13.85%150.00%
Total26100.00%2100.00%
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.