cregit-Linux how code gets into the kernel

Release 4.14 arch/sh/lib/div64-generic.c

Directory: arch/sh/lib
// SPDX-License-Identifier: GPL-2.0
/*
 * Generic __div64_32 wrapper for __xdiv64_32.
 */

#include <linux/types.h>
#include <asm/div64.h>

extern uint64_t __xdiv64_32(u64 n, u32 d);


uint32_t __div64_32(u64 *xp, u32 y) { uint32_t rem; uint64_t q = __xdiv64_32(*xp, y); rem = *xp - q * y; *xp = q; return rem; }

Contributors

PersonTokensPropCommitsCommitProp
Andrew Morton4093.02%133.33%
Paul Mundt36.98%266.67%
Total43100.00%3100.00%


Overall Contributors

PersonTokensPropCommitsCommitProp
Andrew Morton5487.10%120.00%
Paul Mundt711.29%360.00%
Greg Kroah-Hartman11.61%120.00%
Total62100.00%5100.00%
Directory: arch/sh/lib
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.