cregit-Linux how code gets into the kernel

Release 4.14 arch/arm64/include/asm/bitrev.h

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

#define __ASM_BITREV_H

static __always_inline __attribute_const__ u32 __arch_bitrev32(u32 x) { __asm__ ("rbit %w0, %w1" : "=r" (x) : "r" (x)); return x; }

Contributors

PersonTokensPropCommitsCommitProp
Yalin Wang15100.00%1100.00%
Total15100.00%1100.00%


static __always_inline __attribute_const__ u16 __arch_bitrev16(u16 x) { return __arch_bitrev32((u32)x) >> 16; }

Contributors

PersonTokensPropCommitsCommitProp
Yalin Wang22100.00%1100.00%
Total22100.00%1100.00%


static __always_inline __attribute_const__ u8 __arch_bitrev8(u8 x) { return __arch_bitrev32((u32)x) >> 24; }

Contributors

PersonTokensPropCommitsCommitProp
Yalin Wang22100.00%1100.00%
Total22100.00%1100.00%

#endif

Overall Contributors

PersonTokensPropCommitsCommitProp
Yalin Wang6798.53%150.00%
Greg Kroah-Hartman11.47%150.00%
Total68100.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.