Gitiles
Code Review
Sign In
git01.mediatek.com
/
filogic
/
uboot
/
9e4e7ed9099d31c72631088c1f615be89367f231
/
.
/
arch
/
mips
/
lib
/
udivdi3.c
blob: 4d780117cf15697d8e5b03e80642ebb5580caf21 [
file
] [
log
] [
blame
]
/* SPDX-License-Identifier: GPL-2.0 */
#include
"libgcc.h"
#if BITS_PER_LONG == 32
#include
<div64.h>
long
long
__udivdi3
(
long
long
u
,
word_type b
)
{
long
long
ret
=
u
;
__div64_32
(&
ret
,
b
);
return
ret
;
}
#endif
/* BITS_PER_LONG == 32 */