[sis190] Avoid NULL pointer dereference
[ipxe.git] / src / libgcc / __umoddi3.c
1 /*
2 * arch/i386/libgcc/__umoddi3.c
3 */
4
5 #include "libgcc.h"
6
7 __libgcc uint64_t __umoddi3(uint64_t num, uint64_t den)
8 {
9 uint64_t v;
10
11 (void) __udivmoddi4(num, den, &v);
12 return v;
13 }